// // MemberListPopup::refreshPolicyBtn from 0x747b98 to 0x747c8c (244 bytes) // // 3 xrefs: // > MemberListPopup::init @ 0x74b01a // > MemberListPopup::threadUpdateFinished @ 0x755b4c // > MemberListPopup::threadUpdateFinished @ 0x755b7c // // 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:58:43 +0000 // int __fastcall MemberListPopup::refreshPolicyBtn(MemberListPopup *this) { GJAccountManager *v2; // r0 int v3; // r6 int result; // r0 char *v5; // r0 ButtonSprite *v6; // r0 int v7; // r0 int v8; // r6 int (__fastcall *v9)(int, _BYTE *); // r7 float v10; // [sp+10h] [bp-1Ch] _BYTE v11[8]; // [sp+1Ch] [bp-10h] BYREF v2 = *((GJAccountManager **)this + 156); if ( v2 ) { v2 = (GJAccountManager *)(*(int (__fastcall **)(GJAccountManager *))(*(_DWORD *)v2 + 260))(v2); *((_DWORD *)this + 156) = 0; } v3 = *(_DWORD *)(*((_DWORD *)this + 152) + 132); result = GJAccountManager::sharedState(v2); if ( v3 == *(_DWORD *)(result + 280) - *(_DWORD *)(result + 284) ) { if ( *(_DWORD *)(*((_DWORD *)this + 152) + 140) == 1 ) v5 = "Adds: Owner Only"; else v5 = "Adds: Anyone"; v6 = ButtonSprite::create( (ButtonSprite *)v5, (const char *)&dword_58 + 2, 0, 0.4, 1, "bigFont.fnt", "GJ_button_04.png", (const char *)0x41D00000, v10); v7 = CCMenuItemSpriteExtra::create((int)v6, 0, (int)this, (int)MemberListPopup::onAddPolicy, 0); *((_DWORD *)this + 156) = v7; CCMenuItemSpriteExtra::setSizeMult(v7, 1.1); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 111) + 228))( *((_DWORD *)this + 111), *((_DWORD *)this + 156)); v8 = *((_DWORD *)this + 156); v9 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v11, *((float *)this + 130) + 83.0, (float)(*((float *)this + 131) - (float)(*((float *)this + 133) * 0.5)) + 24.0); return v9(v8, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source