// // GJBaseGameLayer::loadGroupParentsFromString from 0x59d894 to 0x59d980 (236 bytes) // // 1 xrefs: // > GameObject::objectFromVector @ 0x45c15c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:14 +0000 // int __fastcall GJBaseGameLayer::loadGroupParentsFromString(int a1, GameObject *a2, unsigned __int8 *a3) { int v6; // r3 int result; // r0 int v8; // r3 unsigned int v9; // r11 int v10; // r6 int v11; // r11 const char *v12; // r3 const char *v13; // r0 int v14; // [sp+Ch] [bp-18h] BYREF int v15[2]; // [sp+10h] [bp-14h] BYREF const char *v16; // [sp+18h] [bp-Ch] v6 = *a3; result = v6 << 31; if ( (v6 & 1) != 0 ) v8 = *((_DWORD *)a3 + 1); else v8 = v6 >> 1; if ( v8 ) { v9 = 0; v10 = std::string::find(a3, 46, 0); while ( 1 ) { std::string::basic_string(v15, a3, v9, v10 - v9); if ( (v15[0] & 1) != 0 ) { if ( !v15[1] ) { v11 = 0; LABEL_13: v13 = v16; goto LABEL_15; } v12 = v16; } else { v11 = (int)LOBYTE(v15[0]) >> 1; if ( !v11 ) goto LABEL_14; v12 = (char *)v15 + 1; } v11 = *(unsigned __int8 *)v12 == 43; if ( (v15[0] & 1) != 0 ) goto LABEL_13; LABEL_14: v13 = (char *)v15 + 1; LABEL_15: v14 = atoi(v13); GJBaseGameLayer::setGroupParent(a1, a2, (cocos2d::CCInteger *)v14); if ( v11 ) { if ( !std::__hash_table,std::equal_to,std::allocator>::find( (_DWORD *)(a1 + 2332), (unsigned int *)&v14) ) GJBaseGameLayer::promoteGroupParent( (cocos2d::CCDictionary **)a1, (cocos2d::CCDictionary **)a2, (cocos2d::CCInteger *)v14); } if ( v10 == -1 ) return std::string::~string((int)v15); v9 = v10 + 1; v10 = std::string::find(a3, 46, v10 + 1); std::string::~string((int)v15); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source