{"type": "func", "start": 12848580, "end": 12848980, "name": "AccountReviewPopup::onCopyAccountID", "pseudocode": "// \n// AccountReviewPopup::onCopyAccountID from 0xc40dc4 to 0xc40f54 (400 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x73eb8\n// > AccountReviewPopup::init @ 0xc44c98\n// > <???> @ 0x1542ea0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:04:57 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::onCopyAccountID(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCString *v3; // x0\n  size_t v4; // x0\n  void (__fastcall *v5)(AccountReviewPopup *, __int64, __int64); // x23\n  __int64 v6; // x0\n  char *CString; // [xsp+48h] [xbp+48h]\n  __int64 v9[2]; // [xsp+58h] [xbp+58h] BYREF\n  void *v10; // [xsp+68h] [xbp+68h]\n  __int64 v11; // [xsp+70h] [xbp+70h] BYREF\n  __int64 v12; // [xsp+78h] [xbp+78h]\n  void *v13; // [xsp+80h] [xbp+80h]\n\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"%i\",\n                              (const char *)*((unsigned int *)this + 210));\n  v11 = 0;\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  v12 = 0;\n  v13 = nullptr;\n  v4 = strlen(CString);\n  std::string::__init(&v11, CString, v4);\n  PlatformToolbox::copyToClipboard((__int64)&v11);\n  if ( (v11 & 1) != 0 )\n    operator delete(v13);\n  v5 = *(void (__fastcall **)(AccountReviewPopup *, __int64, __int64))(*(_QWORD *)this + 464LL);\n  v9[0] = 0;\n  v9[1] = 0;\n  v10 = nullptr;\n  std::string::__init(v9, \"Copied to clipboard\", 0x13u);\n  v11 = 0;\n  v12 = 0;\n  v13 = nullptr;\n  std::string::__init(&v11, &byte_11B8890, 0);\n  v6 = TextAlertPopup::create((char *)v9, 150, (char *)&v11, 0.5, 0.6);\n  v5(this, v6, 100);\n  if ( (v11 & 1) != 0 )\n    operator delete(v13);\n  if ( (v9[0] & 1) != 0 )\n    operator delete(v10);\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountReviewPopup::onCopyAccountID from 0xc40dc4 to 0xc40f54 (400 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x73eb8\n; > AccountReviewPopup::init @ 0xc44c98\n; > <???> @ 0x1542ea0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:04:57 +0000\n; \nSTP             X29, X30, [SP,#var_90]!                                ; +0x0, 0xc40dc4\nMOV             X29, SP                                                ; +0x4, 0xc40dc8\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x8, 0xc40dcc\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc40dd0\nSTR             X23, [SP,#0x90+var_60]                                 ; +0x10, 0xc40dd4\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x14, 0xc40dd8\nMOV             X21, X0                                                ; +0x18, 0xc40ddc\nADRP            X0, #(aSongidI+8)@PAGE; \"%i\"                           ; +0x1c, 0xc40de0\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc40de4\nADD             X0, X0, #(aSongidI+8)@PAGEOFF; this                    ; +0x24, 0xc40de8\nADD             X20, X29, #0x90+var_20                                 ; +0x28, 0xc40dec\nLDR             W1, [X21,#0x348]; char *                               ; +0x2c, 0xc40df0\nLDR             X2, [X2]                                               ; +0x30, 0xc40df4\nSTR             X2, [X29,#0x90+var_8]                                  ; +0x34, 0xc40df8\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x38, 0xc40dfc\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3c, 0xc40e00\nSTR             XZR, [X29,#0x90+var_20]                                ; +0x40, 0xc40e04\nSTR             X0, [X29,#0x90+var_48]                                 ; +0x44, 0xc40e08\nSTR             XZR, [X29,#0x90+var_18]                                ; +0x48, 0xc40e0c\nSTR             XZR, [X29,#0x90+var_10]                                ; +0x4c, 0xc40e10\nBL              .strlen                                                ; +0x50, 0xc40e14\nLDR             X1, [X29,#0x90+var_48]                                 ; +0x54, 0xc40e18\nMOV             X2, X0                                                 ; +0x58, 0xc40e1c\nMOV             X0, X20                                                ; +0x5c, 0xc40e20\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x60, 0xc40e24\nMOV             X0, X20                                                ; +0x64, 0xc40e28\nBL              _ZN15PlatformToolbox15copyToClipboardENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; PlatformToolbox::copyToClipboard(std::string) ; +0x68, 0xc40e2c\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0x6c, 0xc40e30\nTBNZ            W0, #0, loc_C40EF8                                     ; +0x70, 0xc40e34\nLDR             X3, [X21]                                              ; +0x74, 0xc40e38\nADD             X22, X29, #0x90+var_38                                 ; +0x78, 0xc40e3c\nADRP            X1, #aCopiedToClipbo@PAGE; \"Copied to clipboard\"       ; +0x7c, 0xc40e40\nMOV             X0, X22                                                ; +0x80, 0xc40e44\nADD             X1, X1, #aCopiedToClipbo@PAGEOFF; \"Copied to clipboard\" ; +0x84, 0xc40e48\nMOV             X2, #0x13                                              ; +0x88, 0xc40e4c\nLDR             X23, [X3,#0x1D0]                                       ; +0x8c, 0xc40e50\nSTR             XZR, [X29,#0x90+var_38]                                ; +0x90, 0xc40e54\nSTR             XZR, [X29,#0x90+var_30]                                ; +0x94, 0xc40e58\nSTR             XZR, [X29,#0x90+var_28]                                ; +0x98, 0xc40e5c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x9c, 0xc40e60\nADRP            X1, #byte_11B8890@PAGE                                 ; +0xa0, 0xc40e64\nMOV             X0, X20                                                ; +0xa4, 0xc40e68\nADD             X1, X1, #byte_11B8890@PAGEOFF                          ; +0xa8, 0xc40e6c\nMOV             X2, #0                                                 ; +0xac, 0xc40e70\nSTR             XZR, [X29,#0x90+var_20]                                ; +0xb0, 0xc40e74\nSTR             XZR, [X29,#0x90+var_18]                                ; +0xb4, 0xc40e78\nSTR             XZR, [X29,#0x90+var_10]                                ; +0xb8, 0xc40e7c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xbc, 0xc40e80\nLDR             S1, =0x3F19999A                                        ; +0xc0, 0xc40e84\nMOV             X0, X22                                                ; +0xc4, 0xc40e88\nMOV             W1, #0x96                                              ; +0xc8, 0xc40e8c\nMOV             X2, X20                                                ; +0xcc, 0xc40e90\nFMOV            S0, #0.5                                               ; +0xd0, 0xc40e94\nBL              _ZN14TextAlertPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEffiS6_; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0xd4, 0xc40e98\nMOV             X1, X0                                                 ; +0xd8, 0xc40e9c\nMOV             W2, #0x64 ; 'd'                                        ; +0xdc, 0xc40ea0\nMOV             X0, X21                                                ; +0xe0, 0xc40ea4\nBLR             X23                                                    ; +0xe4, 0xc40ea8\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0xe8, 0xc40eac\nTBNZ            W0, #0, loc_C40EEC                                     ; +0xec, 0xc40eb0\nLDRB            W0, [X29,#0x90+var_38]                                 ; +0xf0, 0xc40eb4\nTBZ             W0, #0, loc_C40EC4                                     ; +0xf4, 0xc40eb8\nLDR             X0, [X29,#0x90+var_28]; void *                         ; +0xf8, 0xc40ebc\nBL              _ZdlPv; operator delete(void *)                        ; +0xfc, 0xc40ec0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x100, 0xc40ec4\nLDR             X1, [X29,#0x90+var_8]                                  ; +0x104, 0xc40ec8\nLDR             X0, [X19]                                              ; +0x108, 0xc40ecc\nCMP             X1, X0                                                 ; +0x10c, 0xc40ed0\nB.NE            loc_C40F04                                             ; +0x110, 0xc40ed4\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x114, 0xc40ed8\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x118, 0xc40edc\nLDR             X23, [SP,#0x90+var_60]                                 ; +0x11c, 0xc40ee0\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x120, 0xc40ee4\nRET                                                                    ; +0x124, 0xc40ee8\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x128, 0xc40eec\nBL              _ZdlPv; operator delete(void *)                        ; +0x12c, 0xc40ef0\nB               loc_C40EB4                                             ; +0x130, 0xc40ef4\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x134, 0xc40ef8\nBL              _ZdlPv; operator delete(void *)                        ; +0x138, 0xc40efc\nB               loc_C40E38                                             ; +0x13c, 0xc40f00\nBL              .__stack_chk_fail                                      ; +0x140, 0xc40f04\nLDRB            W1, [X29,#0x90+var_20]                                 ; +0x144, 0xc40f08\nMOV             X19, X0                                                ; +0x148, 0xc40f0c\nTBZ             W1, #0, loc_C40F1C                                     ; +0x14c, 0xc40f10\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x150, 0xc40f14\nBL              _ZdlPv; operator delete(void *)                        ; +0x154, 0xc40f18\nMOV             X0, X19                                                ; +0x158, 0xc40f1c\nBL              _Unwind_Resume                                         ; +0x15c, 0xc40f20\nLDRB            W1, [X29,#0x90+var_20]                                 ; +0x160, 0xc40f24\nMOV             X19, X0                                                ; +0x164, 0xc40f28\nTBZ             W1, #0, loc_C40F38                                     ; +0x168, 0xc40f2c\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x16c, 0xc40f30\nBL              _ZdlPv; operator delete(void *)                        ; +0x170, 0xc40f34\nLDRB            W0, [X29,#0x90+var_38]                                 ; +0x174, 0xc40f38\nTBZ             W0, #0, loc_C40F1C                                     ; +0x178, 0xc40f3c\nLDR             X0, [X29,#0x90+var_28]; void *                         ; +0x17c, 0xc40f40\nBL              _ZdlPv; operator delete(void *)                        ; +0x180, 0xc40f44\nB               loc_C40F1C                                             ; +0x184, 0xc40f48\nMOV             X19, X0                                                ; +0x188, 0xc40f4c\nB               loc_C40F38                                             ; +0x18c, 0xc40f50", "xrefs": ["<???> @ 0x73eb8", "AccountReviewPopup::init @ 0xc44c98", "<???> @ 0x1542ea0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}