// // sub_100517B20 from 0x100517b20 to 0x100517bba (154 bytes) // // 1 xrefs: // > @ 0x100960228 // // 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 // __int64 __fastcall sub_100517B20(__int64 a1) { cocos2d::CCObject *v1; // rbx cocos2d::CCDirector *v2; // rax cocos2d::CCTouchDispatcher *v3; // rax v1 = (cocos2d::CCObject *)(a1 - 320); *(_QWORD *)(a1 - 320) = off_10095FCC0; *(_QWORD *)a1 = off_100960228; *(_QWORD *)(a1 + 8) = &off_100960298; *(_QWORD *)(a1 + 16) = off_1009602B0; *(_QWORD *)(a1 + 24) = off_1009602D0; *(_QWORD *)(a1 + 32) = off_1009602F0; *(_QWORD *)(a1 + 88) = off_100960318; *(_QWORD *)(a1 + 112) = off_100960398; if ( *(_BYTE *)(a1 + 225) == 1 ) { v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2); cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, v1); } return cocos2d::CCLayerColor::dCCLayerColor(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source