{"type": "func", "start": 10024464, "end": 10024708, "name": "AccountRegisterLayer::createTextBackground", "pseudocode": "// \n// AccountRegisterLayer::createTextBackground from 0x98f610 to 0x98f704 (244 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x990c04\n// > AccountRegisterLayer::init @ 0x990d4c\n// > AccountRegisterLayer::init @ 0x990f98\n// > AccountRegisterLayer::init @ 0x9910f8\n// > AccountRegisterLayer::init @ 0x991244\n// > <???> @ 0x103dc8\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 12:57:58 +0000\n// \n\n__int64 __fastcall AccountRegisterLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // x19\n  _BYTE v8[16]; // [xsp+58h] [xbp+58h] BYREF\n  _BYTE v9[16]; // [xsp+68h] [xbp+68h] BYREF\n\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, 0.0, 0.0, 40.0, 40.0);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (const cocos2d::CCRect *)v8);\n  v5 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v9);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 320LL))(v5, a3);\n  (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v5, 1);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 912LL))(v5, 100);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, a2);\n  return v5;\n}", "assembly": "; \n; AccountRegisterLayer::createTextBackground from 0x98f610 to 0x98f704 (244 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x990c04\n; > AccountRegisterLayer::init @ 0x990d4c\n; > AccountRegisterLayer::init @ 0x990f98\n; > AccountRegisterLayer::init @ 0x9910f8\n; > AccountRegisterLayer::init @ 0x991244\n; > <???> @ 0x103dc8\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 12:57:58 +0000\n; \nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0x98f610\nFMOV            S0, WZR; float                                         ; +0x4, 0x98f614\nMOV             X29, SP                                                ; +0x8, 0x98f618\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0xc, 0x98f61c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x98f620\nSTR             X23, [SP,#0x80+var_50]                                 ; +0x14, 0x98f624\nLDR             S2, flt_98F704; float                                  ; +0x18, 0x98f628\nMOV             X23, X0                                                ; +0x1c, 0x98f62c\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x20, 0x98f630\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x98f634\nADD             X21, X29, #0x80+var_28                                 ; +0x28, 0x98f638\nFMOV            S1, S0; float                                          ; +0x2c, 0x98f63c\nMOV             X22, X1                                                ; +0x30, 0x98f640\nFMOV            S3, S2; float                                          ; +0x34, 0x98f644\nMOV             X0, X21; this                                          ; +0x38, 0x98f648\nLDR             X1, [X20]                                              ; +0x3c, 0x98f64c\nADD             X19, X29, #0x80+var_18                                 ; +0x40, 0x98f650\nSTR             X2, [X29,#0x80+var_38]                                 ; +0x44, 0x98f654\nSTR             X1, [X29,#0x80+var_8]                                  ; +0x48, 0x98f658\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x4c, 0x98f65c\nMOV             X0, X19; this                                          ; +0x50, 0x98f660\nMOV             X1, X21; cocos2d::CCRect *                             ; +0x54, 0x98f664\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x58, 0x98f668\nADRP            X0, #aSquare02SmallP@PAGE; \"square02_small.png\"        ; +0x5c, 0x98f66c\nMOV             X1, X19                                                ; +0x60, 0x98f670\nADD             X0, X0, #aSquare02SmallP@PAGEOFF; \"square02_small.png\" ; +0x64, 0x98f674\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x68, 0x98f678\nMOV             X19, X0                                                ; +0x6c, 0x98f67c\nLDR             X2, [X29,#0x80+var_38]                                 ; +0x70, 0x98f680\nMOV             X1, X2                                                 ; +0x74, 0x98f684\nLDR             X2, [X0]                                               ; +0x78, 0x98f688\nLDR             X2, [X2,#0x140]                                        ; +0x7c, 0x98f68c\nBLR             X2                                                     ; +0x80, 0x98f690\nLDR             X3, [X23,#0x248]                                       ; +0x84, 0x98f694\nMOV             W2, #1                                                 ; +0x88, 0x98f698\nMOV             X1, X19                                                ; +0x8c, 0x98f69c\nMOV             X0, X3                                                 ; +0x90, 0x98f6a0\nLDR             X3, [X3]                                               ; +0x94, 0x98f6a4\nLDR             X3, [X3,#0x1D0]                                        ; +0x98, 0x98f6a8\nBLR             X3                                                     ; +0x9c, 0x98f6ac\nLDR             X2, [X19]                                              ; +0xa0, 0x98f6b0\nMOV             X0, X19                                                ; +0xa4, 0x98f6b4\nMOV             W1, #0x64 ; 'd'                                        ; +0xa8, 0x98f6b8\nLDR             X2, [X2,#0x390]                                        ; +0xac, 0x98f6bc\nBLR             X2                                                     ; +0xb0, 0x98f6c0\nLDR             X2, [X19]                                              ; +0xb4, 0x98f6c4\nMOV             X0, X19                                                ; +0xb8, 0x98f6c8\nMOV             X1, X22                                                ; +0xbc, 0x98f6cc\nLDR             X2, [X2,#0xB8]                                         ; +0xc0, 0x98f6d0\nBLR             X2                                                     ; +0xc4, 0x98f6d4\nLDR             X2, [X29,#0x80+var_8]                                  ; +0xc8, 0x98f6d8\nMOV             X0, X19                                                ; +0xcc, 0x98f6dc\nLDR             X1, [X20]                                              ; +0xd0, 0x98f6e0\nCMP             X2, X1                                                 ; +0xd4, 0x98f6e4\nB.NE            loc_98F700                                             ; +0xd8, 0x98f6e8\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0xdc, 0x98f6ec\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0xe0, 0x98f6f0\nLDR             X23, [SP,#0x80+var_50]                                 ; +0xe4, 0x98f6f4\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0xe8, 0x98f6f8\nRET                                                                    ; +0xec, 0x98f6fc\nBL              .__stack_chk_fail                                      ; +0xf0, 0x98f700", "xrefs": ["AccountRegisterLayer::init @ 0x990c04", "AccountRegisterLayer::init @ 0x990d4c", "AccountRegisterLayer::init @ 0x990f98", "AccountRegisterLayer::init @ 0x9910f8", "AccountRegisterLayer::init @ 0x991244", "<???> @ 0x103dc8"], "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"}