// // sub_1006D9920 from 0x1006d9920 to 0x1006d9991 (113 bytes) // // 1 xrefs: // > sub_1006D9240 @ 0x1006d93e3 // // 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 12:35:42 +0000 // __int64 __fastcall sub_1006D9920(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int v3; // r14d __int64 v4; // rax __int64 v5; // rsi __int64 v6; // rsi result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (int)result >= 0 && (int)result < (int)(-1431655765 * ((*(_QWORD *)(a1 + 728) - *(_QWORD *)(a1 + 720)) >> 3)) ) { v3 = result; v4 = cocos2d::CCApplication::sharedApplication(); v5 = *(_QWORD *)(a1 + 720) + 24LL * v3; if ( (*(_BYTE *)v5 & 1) != 0 ) v6 = *(_QWORD *)(v5 + 16); else v6 = v5 + 1; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 104LL))(v4, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source