// // cocos2d::CCAccelerometer::setDelegate from 0x5e1058 to 0x5e1064 (12 bytes) // // 4 xrefs: // > cocos2d::CCLayer::setAccelerometerEnabled @ 0x5cf332 // > cocos2d::CCLayer::onEnter @ 0x5d0338 // > cocos2d::CCLayer::onExit @ 0x5d03b2 // > cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x5d041a // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall cocos2d::CCAccelerometer::setDelegate(_DWORD *a1, int a2) { *a1 = a2; if ( a2 ) return enableAccelerometerJNI(); else return disableAccelerometerJNI(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source