// // sub_100005420 from 0x100005420 to 0x100005508 (232 bytes) // // 7 xrefs: // > sub_100004698 @ 0x100004758 // > sub_100004698 @ 0x1000047e4 // > sub_100004698 @ 0x100004880 // > sub_100004698 @ 0x100004964 // > sub_100004698 @ 0x1000049f0 // > sub_100004698 @ 0x100004ad4 // > sub_100004698 @ 0x100004b60 // // 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 10:57:10 +0000 // void __fastcall sub_100005420(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4) { __int64 v7; // x8 __int64 v8; // x20 __int64 v9; // x21 __int64 v10; // x0 char *CString; // x0 bool v12; // w22 __int64 v13; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v15; // [xsp+1Fh] [xbp-21h] v7 = *(char *)(a2 + 23); if ( v7 < 0 ) v7 = *(_QWORD *)(a2 + 8); if ( v7 ) { v8 = cocos2d::CCDictionary::objectForKey(a4, a2); if ( !v8 ) { v8 = sub_1002E736C(); cocos2d::CCDictionary::setObject(a4, v8, a2); } if ( (unsigned int)sub_1002E757C(v8) ) { v9 = 0; while ( 1 ) { v10 = cocos2d::CCArray::stringAtIndex(v8, v9); CString = (char *)cocos2d::CCString::getCString(v10); sub_100009900((int)__p, CString); v12 = sub_1000045BC(__p, a3); if ( v15 < 0 ) operator delete(__p[0]); if ( v12 ) break; v9 = (unsigned int)(v9 + 1); if ( (unsigned int)v9 >= (unsigned int)sub_1002E757C(v8) ) goto LABEL_12; } } else { LABEL_12: v13 = sub_1003064AC(a3); sub_1002E74E0(v8, v13); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source