// // GJBaseGameLayer::tryGetGroupParent from 0x10011aab0 to 0x10011ab87 (215 bytes) // // 0 xrefs: // // 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:24:36 +0000 // __int64 __fastcall GJBaseGameLayer::tryGetGroupParent(_QWORD *a1, int a2) { __int64 v3; // rdi __int64 v4; // rax __int64 v5; // r15 __int64 result; // rax int v7; // eax __int64 v8; // r14 __int64 v9; // r15 unsigned int *v10; // rax __int64 *v11; // rcx unsigned __int64 v12; // rdx v3 = a1[461]; v4 = cocos2d::CCDictionary::objectForKey_1(v3); if ( !v4 || (v5 = v4, v3 = v4, !(unsigned int)sub_1007FEF90(v4)) || (v3 = v5, (result = sub_1007FEFE0(v5, 0)) == 0) ) { v7 = 9999; if ( a2 < 9999 ) v7 = a2; v8 = 0; if ( v7 > 0 ) v8 = (unsigned int)v7; v9 = *(_QWORD *)(a1[452] + 8 * v8); if ( v9 || (v9 = sub_1007FE900(v3), cocos2d::CCDictionary::setObject_1(a1[449], v9, v8), (*(_QWORD *)(a1[452] + 8 * v8) = v9) != 0) ) { v10 = *(unsigned int **)(v9 + 56); if ( *v10 ) { v11 = *((__int64 **)v10 + 2); v12 = (unsigned __int64)&v11[*v10 - 1]; do { result = *v11; if ( !*v11 ) break; if ( *(_BYTE *)(result + 1150) == 1 ) return result; ++v11; } while ( (unsigned __int64)v11 <= v12 ); } } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source