// // sub_7839D8 from 0x7839d8 to 0x783ab8 (224 bytes) // // 2 xrefs: // > EditorSoundConfigCell::loadFromConfig @ 0x784018 // > EditorSoundConfigCell::loadFromConfig @ 0x784522 // // 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:30 +0000 // int __fastcall sub_7839D8(float **a1) { ButtonSprite *v2; // r0 int v3; // r2 ButtonSprite *v4; // r7 _DWORD *v5; // r4 float *v6; // r0 int (__fastcall *v7)(_DWORD *, _BYTE *); // r8 const cocos2d::CCPoint *v8; // r9 float v10; // [sp+10h] [bp-24h] _BYTE v11[8]; // [sp+14h] [bp-20h] BYREF _BYTE v12[8]; // [sp+1Ch] [bp-18h] BYREF int (__fastcall *v13)(int, cocos2d::CCObject *); // [sp+24h] [bp-10h] int v14; // [sp+28h] [bp-Ch] v2 = ButtonSprite::create( (ButtonSprite *)"View", (const char *)&word_32, 0, 0.6, 0, "bigFont.fnt", "GJ_button_01.png", (const char *)0x41F00000, v10); v3 = (int)*a1; v14 = 0; v13 = EditorSoundConfigCell::onView; v4 = v2; v5 = (_DWORD *)CCMenuItemSpriteExtra::create((int)v2, 0, v3, (int)EditorSoundConfigCell::onView, 0); (*(void (__fastcall **)(_DWORD *, int))(*v5 + 80))(v5, 1061997773); v5[79] = 1061997773; (*(void (__fastcall **)(_DWORD, _DWORD *))(**((_DWORD **)*a1 + 107) + 228))(*((_DWORD *)*a1 + 107), v5); v6 = (float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)v4 + 164))(v4); v7 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v5 + 92); v8 = *((const cocos2d::CCPoint **)*a1 + 107); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v11, (float)((*a1)[100] - (float)((float)(*v6 * 0.8) * 0.5)) - 9.0, *a1[1]); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, v8); return v7(v5, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source