// // sub_100668230 from 0x100668230 to 0x10066826f (63 bytes) // // 14 xrefs: // > sub_1002031D0 @ 0x100203214 // > sub_1002031D0 @ 0x100203222 // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x100203294 // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1002032a2 // > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x100259c50 // > cocos2d::CCTouchDispatcher::init @ 0x1004cba54 // > sub_100570AE0 @ 0x100570b19 // > sub_100570AE0 @ 0x100570b27 // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x100570b89 // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x100570b97 // > sub_1005F93B0 @ 0x1005f93e9 // > sub_1005F93B0 @ 0x1005f93f7 // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1005f9459 // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1005f9467 // // 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 // _QWORD *__fastcall sub_100668230(int a1) { __int64 v1; // rbx _QWORD *v2; // r14 v1 = (unsigned int)(a1 == 0) + a1; v2 = malloc(0x18u); *(_DWORD *)v2 = 0; v2[2] = malloc(8 * v1); *((_DWORD *)v2 + 1) = v1; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source