好友
阅读权限10
听众
最后登录1970-1-1
|
本帖最后由 uezer 于 2025-9-9 11:32 编辑
有一个cocos2dx开发的安卓游戏,app包解压后未发现cocos相关的库,但是找到一个比较大的库libgame.so,无法通过nm找到相关cocos的符号,但是可以通过strings找到相关cocos的文本,如果我想hook获取资源我该怎么找到函数的地址
PS>strings libgame.so | findstr -i
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit
_ZTCN5boost13serialization6detail17singleton_wrapperI11applicationEE0_N7cocos2d8CCObjectE
_ZTCN7cocos2d15CCConfigurationE0_NS_8CCObjectE
_ZTCN7cocos2d9CCIntegerE0_NS_8CCObjectE
_ZTCN7cocos2d7CCTouchE0_NS_8CCObjectE
Java_org_cocos2dx_lib_Cocos2dxBitmap_nativeInitBitmapDC
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetApkPath
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetAssetManager
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetDeviceInfo
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetDeviceModel
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetEditTextDialogResult
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetExternalAssetPath
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetExternalPath
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetLocaleInfo
Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetMacAddress
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeDeleteBackward
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeDeleteBackwardAll
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeGetContentText
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnResume
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeRender
Java_org_cocos2dx_lib_Cocos2dxAccelerometer_onSensorChanged
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeKeyDown
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTouchesBegin
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTouchesCancel
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTouchesEnd
Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTouchesMove
Java_org_cocos2dx_lib_Cocos2dxVideoHelper_nativeExecuteVideoCallback
N7cocos2d16CCKeypadDelegateE
org/cocos2dx/lib/Cocos2dxGLSurfaceView
N7cocos2d18draw_info_delegateE
N7cocos2d6CCNodeE
N7cocos2d14CCRGBAProtocolE
N7cocos2d10CCNodeRGBAE
?N7cocos2d7CCPointE
N7cocos2d6CCSizeE
N7cocos2d6CCRectE
N7cocos2d17CCAutoreleasePoolE
N7cocos2d12CCDictionaryE
N7cocos2d9CCIntegerE
N7cocos2d9CCCopyingE
N7cocos2d8CCObjectE
等等 |
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|
|