// // sub_18009D840 from 0x18009d840 to 0x18009d893 (83 bytes) // // 2 xrefs: // > cocos2d::CCScheduler::scheduleSelector @ 0x1800c20bb // > @ 0x1801b741c // // 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 // void __fastcall sub_18009D840(__int64 a1, int a2) { unsigned int i; // r8d void *v5; // rcx for ( i = *(_DWORD *)(a1 + 4); i < a2 + *(_DWORD *)a1; i = *(_DWORD *)(a1 + 4) ) { v5 = *(void **)(a1 + 16); *(_DWORD *)(a1 + 4) = 2 * i; *(_QWORD *)(a1 + 16) = realloc(v5, 16LL * i); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source