// // TabbedPopupLayer::showTab from 0x72df68 to 0x72e026 (190 bytes) // // 1 xrefs: // > GameSettingsLayer::showTab @ 0x7103e8 // // 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:17 +0000 // cocos2d::CCArray **__fastcall TabbedPopupLayer::showTab(cocos2d::CCArray **this, cocos2d::CCArray *a2) { cocos2d::CCArray **v2; // r4 int v3; // r2 int v4; // r5 int v5; // r3 int v6; // r3 unsigned int v7; // r6 cocos2d::CCArray *v8; // r2 int v9; // r1 unsigned int v10; // lr cocos2d::CCArray *PopupPage; // r0 v2 = this; if ( (int)a2 >= 0 ) { v3 = (int)*(this + 178); if ( (int)a2 < -1171354717 * (((int)*(this + 179) - v3) >> 2) ) { v4 = v3 + 44 * (_DWORD)a2; v5 = *(_DWORD *)(v4 + 32); if ( v5 <= 0 ) { v6 = 0; } else { if ( *(_DWORD *)(v4 + 28) < v5 ) goto LABEL_8; v6 = v5 - 1; } *(_DWORD *)(v4 + 28) = v6; LABEL_8: v7 = 0; *(this + 184) = a2; while ( 1 ) { v8 = v2[178]; if ( v7 >= -1171354717 * ((v2[179] - v8) >> 2) ) break; v9 = *((_DWORD *)v8 + 11 * v7 + 6); v10 = v7 - (_DWORD)v2[184]; ++v7; (*((void (__fastcall **)(cocos2d::CCArray **, int, bool))*v2 + 169))(v2, v9, v10 == 0); } if ( *(int *)(v4 + 32) <= 0 ) { SetupTriggerPopup::hideAll(v2); SetupTriggerPopup::refreshGroupVisibility(v2); } else { PopupPage = (cocos2d::CCArray *)TabbedPopupLayer::getPopupPage( (TabbedPopupLayer *)v2, (int)v2[184], *(_DWORD *)(v4 + 28)); SetupTriggerPopup::goToPage(v2, PopupPage, 0); } TabbedPopupLayer::refreshTabButtons((char *)v2, "GJ_button_02.png", "GJ_button_05.png"); return (cocos2d::CCArray **)TabbedPopupLayer::refreshPageButtons((TabbedPopupLayer *)v2); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source