{"type": "func", "start": 4619832, "end": 4619988, "name": "AccountRegisterLayer::registerAccountFinished", "pseudocode": "// \n// AccountRegisterLayer::registerAccountFinished from 0x467e38 to 0x467ed4 (156 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AccountRegisterLayer::registerAccountFinished @ 0x467eec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid AccountRegisterLayer::registerAccountFinished(AccountRegisterLayer *a1)\n{\n  cocos2d::CCString *v2; // r0\n  char *CString; // r5\n  FLAlertLayer *v4; // r5\n  char *v5; // [sp+10h] [bp-Ch] BYREF\n\n  CCTextInputNode::getString((CCTextInputNode *)&v5, (int)a1->m_emailField);\n  v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"Thank you for registering.\\n\"\n                                                   \"A confirmation email has been sent to your inbox <cy>%s</c>.\\n\"\n                                                   \"Please <cg>activate</c> your account.\",\n                              v5);\n  CString = (char *)cocos2d::CCString::getCString(v2);\n  sub_774008(&v5);\n  sub_776584((int)&v5, CString);\n  v4 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)\"Created\", (int)&v5, (int)\"OK\", 0, 320.0);\n  sub_774008(&v5);\n  v4->setTag(v4, 1);\n  v4->show(v4);\n  a1->m_loadingCircle->setVisible(a1->m_loadingCircle, 0);\n}", "assembly": "; \n; AccountRegisterLayer::registerAccountFinished from 0x467e38 to 0x467ed4 (156 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AccountRegisterLayer::registerAccountFinished @ 0x467eec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x467e38\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x467e3a\nLDR             R6, =(__stack_chk_guard_ptr - 0x467E46)                ; +0x4, 0x467e3c\nADD             R4, SP, #0x1C+var_C                                    ; +0x6, 0x467e3e\nMOV             R7, R0                                                 ; +0x8, 0x467e40\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xa, 0x467e42\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xc, 0x467e44\nMOV             R0, R4; this                                           ; +0xe, 0x467e46\nLDR.W           R1, [R7,#0x208]                                        ; +0x10, 0x467e48\nLDR             R3, [R6]                                               ; +0x14, 0x467e4c\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x16, 0x467e4e\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x18, 0x467e50\nLDR             R0, =(aThankYouForReg - 0x467E5C); \"Thank you for registering.\\nA confirmat\"... ; +0x1c, 0x467e54\nLDR             R1, [SP,#0x1C+var_C]; char *                           ; +0x1e, 0x467e56\nADD             R0, PC; \"Thank you for registering.\\nA confirmat\"...   ; +0x20, 0x467e58\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x22, 0x467e5a\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x26, 0x467e5e\nMOV             R5, R0                                                 ; +0x2a, 0x467e62\nMOV             R0, R4                                                 ; +0x2c, 0x467e64\nBL              sub_774008                                             ; +0x2e, 0x467e66\nMOV             R1, R5; char *                                         ; +0x32, 0x467e6a\nADD             R2, SP, #0x1C+var_10                                   ; +0x34, 0x467e6c\nMOV             R0, R4; int                                            ; +0x36, 0x467e6e\nBL              sub_776584                                             ; +0x38, 0x467e70\nMOVS            R3, #0                                                 ; +0x3c, 0x467e74\nSTR             R3, [SP,#0x1C+var_1C]; int                             ; +0x3e, 0x467e76\nADD.W           R0, R7, #0x1F8; int                                    ; +0x40, 0x467e78\nLDR             R3, flt_467ED4                                         ; +0x44, 0x467e7c\nMOV             R2, R4; int                                            ; +0x46, 0x467e7e\nLDR             R1, =(aCreated - 0x467E88); \"Created\"                  ; +0x48, 0x467e80\nSTR             R3, [SP,#0x1C+var_18]; float                           ; +0x4a, 0x467e82\nADD             R1, PC; \"Created\"                                      ; +0x4c, 0x467e84\nLDR             R3, =(aOk - 0x467E8C); \"OK\"                            ; +0x4e, 0x467e86\nADD             R3, PC; \"OK\"                                           ; +0x50, 0x467e88\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x52, 0x467e8a\nMOV             R5, R0                                                 ; +0x56, 0x467e8e\nMOV             R0, R4                                                 ; +0x58, 0x467e90\nBL              sub_774008                                             ; +0x5a, 0x467e92\nLDR             R3, [R5]                                               ; +0x5e, 0x467e96\nMOVS            R1, #1                                                 ; +0x60, 0x467e98\nMOV             R0, R5                                                 ; +0x62, 0x467e9a\nLDR             R3, [R3,#0x24]                                         ; +0x64, 0x467e9c\nBLX             R3                                                     ; +0x66, 0x467e9e\nLDR             R3, [R5]                                               ; +0x68, 0x467ea0\nMOV             R0, R5                                                 ; +0x6a, 0x467ea2\nLDR.W           R3, [R3,#0x284]                                        ; +0x6c, 0x467ea4\nBLX             R3                                                     ; +0x70, 0x467ea8\nLDR.W           R0, [R7,#0x224]                                        ; +0x72, 0x467eaa\nMOVS            R1, #0                                                 ; +0x76, 0x467eae\nLDR             R3, [R0]                                               ; +0x78, 0x467eb0\nLDR.W           R3, [R3,#0xA4]                                         ; +0x7a, 0x467eb2\nBLX             R3                                                     ; +0x7e, 0x467eb6\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x80, 0x467eb8\nLDR             R3, [R6]                                               ; +0x82, 0x467eba\nCMP             R2, R3                                                 ; +0x84, 0x467ebc\nBEQ             loc_467ED0                                             ; +0x86, 0x467ebe\nBLX             __stack_chk_fail                                       ; +0x88, 0x467ec0\nB               loc_467EC6                                             ; +0x8c, 0x467ec4\nMOV             R0, R4                                                 ; +0x8e, 0x467ec6\nBL              sub_774008                                             ; +0x90, 0x467ec8\nBL              __cxa_end_cleanup                                      ; +0x94, 0x467ecc\nADD             SP, SP, #0x1C                                          ; +0x98, 0x467ed0\nPOP             {R4-R7,PC}                                             ; +0x9a, 0x467ed2", "xrefs": ["`non-virtual thunk to'AccountRegisterLayer::registerAccountFinished @ 0x467eec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}