{"type": "func", "start": 7555440, "end": 7555512, "name": "AccountReviewPopup::selectTab", "pseudocode": "// \n// AccountReviewPopup::selectTab from 0x734970 to 0x7349b8 (72 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::onTab @ 0x7349dc\n// > AccountReviewPopup::init @ 0x735fc4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:58:23 +0000\n// \n\nint __fastcall AccountReviewPopup::selectTab(AccountReviewPopup *this, int a2)\n{\n  char *v2; // r7\n  int v5; // r4\n  bool v6; // zf\n  char *v7; // r0\n  char *v8; // t1\n  const char *v9; // r1\n\n  v2 = (char *)this + 960;\n  v5 = 0;\n  *((_DWORD *)this + 218) = a2;\n  do\n  {\n    v6 = v5 == a2;\n    v8 = *((char **)v2 + 1);\n    v2 += 4;\n    v7 = v8;\n    ++v5;\n    if ( v6 )\n      v9 = \"GJ_button_01.png\";\n    else\n      v9 = \"GJ_button_04.png\";\n    ButtonSprite::updateBGImage(v7, v9);\n  }\n  while ( v5 != 3 );\n  AccountReviewPopup::updateTabControls(this);\n  return PagedListPopup::loadPage((int)this, 0);\n}", "assembly": "; \n; AccountReviewPopup::selectTab from 0x734970 to 0x7349b8 (72 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::onTab @ 0x7349dc\n; > AccountReviewPopup::init @ 0x735fc4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:58:23 +0000\n; \nPUSH.W          {R3-R9,LR}                                             ; +0x0, 0x734970\nADD.W           R7, R0, #0x3C0                                         ; +0x4, 0x734974\nLDR.W           R9, =(aGjButton01Png - 0x734988); \"GJ_button_01.png\"   ; +0x8, 0x734978\nMOV             R5, R0                                                 ; +0xc, 0x73497c\nLDR.W           R8, =(aGjButton04Png - 0x73498C); \"GJ_button_04.png\"   ; +0xe, 0x73497e\nMOV             R6, R1                                                 ; +0x12, 0x734982\nADD             R9, PC; \"GJ_button_01.png\"                             ; +0x14, 0x734984\nMOVS            R4, #0                                                 ; +0x16, 0x734986\nADD             R8, PC; \"GJ_button_04.png\"                             ; +0x18, 0x734988\nSTR.W           R1, [R5,#0x368]                                        ; +0x1a, 0x73498a\nCMP             R4, R6                                                 ; +0x1e, 0x73498e\nLDR.W           R0, [R7,#4]!; this                                     ; +0x20, 0x734990\nADD.W           R4, R4, #1                                             ; +0x24, 0x734994\nITE EQ                                                                 ; +0x28, 0x734998\nMOVEQ           R1, R9                                                 ; +0x2a, 0x73499a\nMOVNE           R1, R8; char *                                         ; +0x2c, 0x73499c\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x2e, 0x73499e\nCMP             R4, #3                                                 ; +0x32, 0x7349a2\nBNE             loc_73498E                                             ; +0x34, 0x7349a4\nMOV             R0, R5; this                                           ; +0x36, 0x7349a6\nBL              _ZN18AccountReviewPopup17updateTabControlsEv; AccountReviewPopup::updateTabControls(void) ; +0x38, 0x7349a8\nMOV             R0, R5; this                                           ; +0x3c, 0x7349ac\nMOVS            R1, #0; int                                            ; +0x3e, 0x7349ae\nPOP.W           {R3-R9,LR}                                             ; +0x40, 0x7349b0\nB.W             _ZN14PagedListPopup8loadPageEi; PagedListPopup::loadPage(int) ; +0x44, 0x7349b4", "xrefs": ["AccountReviewPopup::onTab @ 0x7349dc", "AccountReviewPopup::init @ 0x735fc4"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}