// // sub_1800A1F30 from 0x1800a1f30 to 0x1800a1f79 (73 bytes) // // 9 xrefs: // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x18004542c // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x18004543a // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180062d7d // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180062d8b // > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800afb20 // > cocos2d::CCTouchDispatcher::init @ 0x1800b69e4 // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b7fdd // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b7feb // > @ 0x1801c1824 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:13 +0000 // _QWORD *__fastcall sub_1800A1F30(unsigned int a1) { unsigned int v1; // edi _QWORD *v2; // rbx v1 = 1; if ( a1 ) v1 = a1; v2 = malloc(0x18u); *(_DWORD *)v2 = 0; v2[2] = malloc(8LL * v1); *((_DWORD *)v2 + 1) = v1; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source