// // sub_10039AE7C from 0x10039ae7c to 0x10039af48 (204 bytes) // // 2 xrefs: // > PlayerObject::updateInternalActions @ 0x1002cb850 // > sub_10039AE70 @ 0x10039ae78 // // This function is hookable on this platform (idp: arm, 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:03:43 +0000 // __int64 __fastcall sub_10039AE7C(__int64 a1, int a2, float a3) { __int64 result; // x0 unsigned int *v7; // x9 __int64 v8; // x8 unsigned __int64 v9; // x23 unsigned __int64 v10; // x24 __int64 v11; // x21 __n128 v12; // q0 __int64 *v13; // x0 __int64 *v14; // x22 char v15; // w0 __int64 v16; // x8 result = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 320)); if ( result ) { v7 = *(unsigned int **)(result + 56); v8 = *v7; if ( (_DWORD)v8 ) { v9 = *((_QWORD *)v7 + 2); v10 = v9 + 8 * v8 - 8; do { if ( !*(_QWORD *)v9 ) break; v11 = *(int *)(*(_QWORD *)v9 + 56LL); v12 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 320), v11); v14 = v13; v15 = (*(__int64 (__fastcall **)(__int64 *, __n128))(*v13 + 80))(v13, v12); v16 = *v14; if ( (v15 & 1) != 0 || a2 ) { (*(void (__fastcall **)(__int64 *))(v16 + 96))(v14); result = cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 320), v11); } else { result = (*(__int64 (__fastcall **)(__int64 *, float))(v16 + 104))(v14, a3); } v9 += 8LL; } while ( v9 <= v10 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source