{"type": "func", "start": 7555032, "end": 7555284, "name": "AccountReviewPopup::updateSelectedLabel", "pseudocode": "// \n// AccountReviewPopup::updateSelectedLabel from 0x7347d8 to 0x7348d4 (252 bytes)\n// \n// 7 xrefs:\n// > AccountReviewPopup::updateTabControls @ 0x73496a\n// > AccountReviewPopup::clearPageContent @ 0x734b30\n// > AccountReviewPopup::onSelectAll @ 0x73aa30\n// > AccountReviewPopup::onToggleRow @ 0x73aaa4\n// > AccountReviewPopup::FLAlert_Clicked @ 0x73ab8e\n// > AccountReviewPopup::FLAlert_Clicked @ 0x73ac20\n// > AccountReviewPopup::FLAlert_Clicked @ 0x73acf2\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\nconst char **__fastcall AccountReviewPopup::updateSelectedLabel(const char **this)\n{\n  AccountReviewPopup *v1; // r4\n  int *v2; // r5\n  const char *v3; // r1\n  int v4; // r3\n  _BOOL4 v5; // r5\n  int (__fastcall *v6)(_DWORD *, _BYTE *); // r7\n  float v7; // s16\n  _DWORD *v8; // r5\n  float v9; // s16\n  float v10; // s14\n  float v11; // r0\n  int (__fastcall *v12)(int *, int); // r7\n  cocos2d::CCString *v13; // r0\n  int CString; // r0\n  float v15[2]; // [sp+4h] [bp-18h] BYREF\n  _BYTE v16[8]; // [sp+Ch] [bp-10h] BYREF\n\n  v1 = (AccountReviewPopup *)this;\n  v2 = (int *)*(this + 250);\n  if ( v2 )\n  {\n    v3 = *(this + 237);\n    v4 = *v2;\n    if ( v3 && *(this + 218) != (_BYTE *)&dword_0 + 2 )\n    {\n      v12 = *(int (__fastcall **)(int *, int))(v4 + 464);\n      v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"(%i)\", v3);\n      CString = cocos2d::CCString::getCString(v13);\n      this = (const char **)v12(v2, CString);\n    }\n    else\n    {\n      this = (const char **)(*(int (__fastcall **)(_DWORD, void *))(v4 + 464))(*(this + 250), &unk_B6B226);\n    }\n    if ( *((_DWORD *)v1 + 248) )\n    {\n      v5 = AccountReviewPopup::selectedDeletable(v1) > 0;\n      this = (const char **)(*(int (__fastcall **)(_DWORD *, _BOOL4))(**((_DWORD **)v1 + 248) + 172))(\n                              *((_DWORD **)v1 + 248),\n                              v5);\n      if ( v5 )\n      {\n        v6 = *(int (__fastcall **)(_DWORD *, _BYTE *))(**((_DWORD **)v1 + 248) + 92);\n        v7 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD *))(**((_DWORD **)v1 + 250) + 112))(*((_DWORD **)v1 + 250)));\n        (*(void (__fastcall **)(float *))(**((_DWORD **)v1 + 250) + 168))(v15);\n        v8 = *((_DWORD **)v1 + 248);\n        v9 = (float)(v7 + v15[0]) + 8.0;\n        v10 = *(float *)(*(int (__fastcall **)(_DWORD *))(*v8 + 164))(v8);\n        v11 = (*(float (__fastcall **)(_DWORD *))(**((_DWORD **)v1 + 247) + 120))(*((_DWORD **)v1 + 247));\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v9 + (float)(v10 * 0.5), v11);\n        return (const char **)v6(v8, v16);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; AccountReviewPopup::updateSelectedLabel from 0x7347d8 to 0x7348d4 (252 bytes)\n; \n; 7 xrefs:\n; > AccountReviewPopup::updateTabControls @ 0x73496a\n; > AccountReviewPopup::clearPageContent @ 0x734b30\n; > AccountReviewPopup::onSelectAll @ 0x73aa30\n; > AccountReviewPopup::onToggleRow @ 0x73aaa4\n; > AccountReviewPopup::FLAlert_Clicked @ 0x73ab8e\n; > AccountReviewPopup::FLAlert_Clicked @ 0x73ac20\n; > AccountReviewPopup::FLAlert_Clicked @ 0x73acf2\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            {R4-R7,LR}                                             ; +0x0, 0x7347d8\nMOV             R4, R0                                                 ; +0x2, 0x7347da\nVPUSH           {D8}                                                   ; +0x4, 0x7347dc\nLDR             R3, =(__stack_chk_guard_ptr - 0x7347E6)                ; +0x8, 0x7347e0\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xa, 0x7347e2\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xc, 0x7347e4\nLDR.W           R5, [R0,#0x3E8]                                        ; +0xe, 0x7347e6\nSUB             SP, SP, #0x1C                                          ; +0x12, 0x7347ea\nLDR             R2, [R3]                                               ; +0x14, 0x7347ec\nMOV             R6, R3                                                 ; +0x16, 0x7347ee\nSTR             R2, [SP,#0x1C+var_8]                                   ; +0x18, 0x7347f0\nCMP             R5, #0                                                 ; +0x1a, 0x7347f2\nBEQ             loc_7348C0                                             ; +0x1c, 0x7347f4\nLDR.W           R1, [R0,#0x3B4]; char *                                ; +0x1e, 0x7347f6\nLDR             R3, [R5]                                               ; +0x22, 0x7347fa\nCBZ             R1, loc_734806                                         ; +0x24, 0x7347fc\nLDR.W           R2, [R0,#0x368]                                        ; +0x26, 0x7347fe\nCMP             R2, #2                                                 ; +0x2a, 0x734802\nBNE             loc_7348A8                                             ; +0x2c, 0x734804\nLDR             R1, =(unk_B6B226 - 0x734812)                           ; +0x2e, 0x734806\nMOV             R0, R5                                                 ; +0x30, 0x734808\nLDR.W           R3, [R3,#0x1D0]                                        ; +0x32, 0x73480a\nADD             R1, PC; unk_B6B226                                     ; +0x36, 0x73480e\nBLX             R3                                                     ; +0x38, 0x734810\nLDR.W           R3, [R4,#0x3E0]                                        ; +0x3a, 0x734812\nCMP             R3, #0                                                 ; +0x3e, 0x734816\nBEQ             loc_7348C0                                             ; +0x40, 0x734818\nMOV             R0, R4; this                                           ; +0x42, 0x73481a\nBL              _ZN18AccountReviewPopup17selectedDeletableEv; AccountReviewPopup::selectedDeletable(void) ; +0x44, 0x73481c\nCMP             R0, #0                                                 ; +0x48, 0x734820\nLDR.W           R0, [R4,#0x3E0]                                        ; +0x4a, 0x734822\nITE LE                                                                 ; +0x4e, 0x734826\nMOVLE           R5, #0                                                 ; +0x50, 0x734828\nMOVGT           R5, #1                                                 ; +0x52, 0x73482a\nLDR             R3, [R0]                                               ; +0x54, 0x73482c\nMOV             R1, R5                                                 ; +0x56, 0x73482e\nLDR.W           R3, [R3,#0xAC]                                         ; +0x58, 0x734830\nBLX             R3                                                     ; +0x5c, 0x734834\nCMP             R5, #0                                                 ; +0x5e, 0x734836\nBEQ             loc_7348C0                                             ; +0x60, 0x734838\nLDR.W           R3, [R4,#0x3E0]                                        ; +0x62, 0x73483a\nLDR.W           R0, [R4,#0x3E8]                                        ; +0x66, 0x73483e\nLDR             R3, [R3]                                               ; +0x6a, 0x734842\nLDR             R7, [R3,#0x5C]                                         ; +0x6c, 0x734844\nLDR             R3, [R0]                                               ; +0x6e, 0x734846\nLDR             R3, [R3,#0x70]                                         ; +0x70, 0x734848\nBLX             R3                                                     ; +0x72, 0x73484a\nLDR.W           R1, [R4,#0x3E8]                                        ; +0x74, 0x73484c\nLDR             R3, [R1]                                               ; +0x78, 0x734850\nLDR.W           R3, [R3,#0xA8]                                         ; +0x7a, 0x734852\nVMOV            S16, R0                                                ; +0x7e, 0x734856\nADD             R0, SP, #0x1C+var_18                                   ; +0x82, 0x73485a\nBLX             R3                                                     ; +0x84, 0x73485c\nVLDR            S15, [SP,#0x1C+var_18]                                 ; +0x86, 0x73485e\nLDR.W           R5, [R4,#0x3E0]                                        ; +0x8a, 0x734862\nVADD.F32        S16, S16, S15                                          ; +0x8e, 0x734866\nLDR             R3, [R5]                                               ; +0x92, 0x73486a\nMOV             R0, R5                                                 ; +0x94, 0x73486c\nLDR.W           R3, [R3,#0xA4]                                         ; +0x96, 0x73486e\nVMOV.F32        S15, #8.0                                              ; +0x9a, 0x734872\nVADD.F32        S16, S16, S15                                          ; +0x9e, 0x734876\nBLX             R3                                                     ; +0xa2, 0x73487a\nVMOV.F32        S15, #0.5                                              ; +0xa4, 0x73487c\nVLDR            S14, [R0]                                              ; +0xa8, 0x734880\nLDR.W           R0, [R4,#0x3DC]                                        ; +0xac, 0x734884\nADD             R4, SP, #0x1C+var_10                                   ; +0xb0, 0x734888\nLDR             R3, [R0]                                               ; +0xb2, 0x73488a\nVMLA.F32        S16, S14, S15                                          ; +0xb4, 0x73488c\nLDR             R3, [R3,#0x78]                                         ; +0xb8, 0x734890\nBLX             R3                                                     ; +0xba, 0x734892\nVMOV            R1, S16; float                                         ; +0xbc, 0x734894\nMOV             R2, R0; float                                          ; +0xc0, 0x734898\nMOV             R0, R4; this                                           ; +0xc2, 0x73489a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc4, 0x73489c\nMOV             R0, R5                                                 ; +0xc8, 0x7348a0\nMOV             R1, R4                                                 ; +0xca, 0x7348a2\nBLX             R7                                                     ; +0xcc, 0x7348a4\nB               loc_7348C0                                             ; +0xce, 0x7348a6\nLDR             R0, =(aI_11 - 0x7348B2); \"(%i)\"                        ; +0xd0, 0x7348a8\nLDR.W           R7, [R3,#0x1D0]                                        ; +0xd2, 0x7348aa\nADD             R0, PC; \"(%i)\"                                         ; +0xd6, 0x7348ae\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xd8, 0x7348b0\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xdc, 0x7348b4\nMOV             R1, R0                                                 ; +0xe0, 0x7348b8\nMOV             R0, R5                                                 ; +0xe2, 0x7348ba\nBLX             R7                                                     ; +0xe4, 0x7348bc\nB               loc_734812                                             ; +0xe6, 0x7348be\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0xe8, 0x7348c0\nLDR             R3, [R6]                                               ; +0xea, 0x7348c2\nCMP             R2, R3                                                 ; +0xec, 0x7348c4\nBEQ             loc_7348CC                                             ; +0xee, 0x7348c6\nBLX             __stack_chk_fail                                       ; +0xf0, 0x7348c8\nADD             SP, SP, #0x1C                                          ; +0xf4, 0x7348cc\nVPOP            {D8}                                                   ; +0xf6, 0x7348ce\nPOP             {R4-R7,PC}                                             ; +0xfa, 0x7348d2", "xrefs": ["AccountReviewPopup::updateTabControls @ 0x73496a", "AccountReviewPopup::clearPageContent @ 0x734b30", "AccountReviewPopup::onSelectAll @ 0x73aa30", "AccountReviewPopup::onToggleRow @ 0x73aaa4", "AccountReviewPopup::FLAlert_Clicked @ 0x73ab8e", "AccountReviewPopup::FLAlert_Clicked @ 0x73ac20", "AccountReviewPopup::FLAlert_Clicked @ 0x73acf2"], "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"}