// // sub_7847B4 from 0x7847b4 to 0x784860 (172 bytes) // // 2 xrefs: // > EditorSoundConfigInfoLayer::init @ 0x787546 // > EditorSoundConfigInfoLayer::init @ 0x787b94 // // 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:59:31 +0000 // int __fastcall sub_7847B4(int a1, const char *a2) { int v3; // r6 int v4; // r6 int (__fastcall *v5)(int, _DWORD *); // r8 const cocos2d::CCPoint *v6; // r9 _BYTE v8[8]; // [sp+Ch] [bp-8h] BYREF _DWORD v9[4]; // [sp+14h] [bp+0h] BYREF v3 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", a2); (*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 80))(v3, 1060320051); v9[2] = 684; v9[3] = 1; v4 = CCMenuItemSpriteExtra::create(v3, 0, *(_DWORD *)a1, 684, 1); CCMenuItemSpriteExtra::setSizeMult(v4, 1.2); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(*(_DWORD *)a1 + 444) + 228))(*(_DWORD *)(*(_DWORD *)a1 + 444), v4); v5 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v4 + 92); v6 = *(const cocos2d::CCPoint **)(*(_DWORD *)a1 + 444); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v8, **(float **)(a1 + 4) - (float)(*(float *)(*(_DWORD *)a1 + 556) * 0.5), **(float **)(a1 + 8)); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v9, v6); return v5(v4, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source