{"type": "func", "start": 4202216, "end": 4202360, "name": "GJGarageLayer::onInfo", "pseudocode": "// \n// GJGarageLayer::onInfo from 0x401ee8 to 0x401f78 (144 bytes)\n// \n// 0 xrefs:\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 GJGarageLayer::onInfo(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // r0\n  cocos2d::CCString *v3; // r0\n  char *CString; // r0\n  FLAlertLayer *v5; // r7\n  char *v6; // [sp+Ch] [bp-10h] BYREF\n  _BYTE v7[4]; // [sp+10h] [bp-Ch] BYREF\n\n  v2 = GameManager::sharedState();\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"<cy>UserID:</c> %i\",\n                              (const char *)(v2->m_playerUserID.random - v2->m_playerUserID.seed));\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_776584((int)&v6, CString);\n  sub_776584((int)v7, v6);\n  v5 = FLAlertLayer::create(0, (int)\"User Info\", (int)v7, (int)\"OK\", 0, 300.0);\n  sub_774008(v7);\n  v5->show(v5);\n  sub_774008(&v6);\n}", "assembly": "; \n; GJGarageLayer::onInfo from 0x401ee8 to 0x401f78 (144 bytes)\n; \n; 0 xrefs:\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, 0x401ee8\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x401eea\nLDR             R5, =(__stack_chk_guard_ptr - 0x401EF6)                ; +0x4, 0x401eec\nADD             R4, SP, #0x1C+var_C                                    ; +0x6, 0x401eee\nADD             R6, SP, #0x1C+var_10                                   ; +0x8, 0x401ef0\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x401ef2\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x401ef4\nLDR             R3, [R5]                                               ; +0xe, 0x401ef6\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x10, 0x401ef8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x401efa\nLDR.W           R3, [R0,#0x19C]                                        ; +0x16, 0x401efe\nLDR.W           R1, [R0,#0x198]                                        ; +0x1a, 0x401f02\nLDR             R0, =(aCyUseridCI - 0x401F0E); \"<cy>UserID:</c> %i\"    ; +0x1e, 0x401f06\nSUBS            R1, R1, R3; char *                                     ; +0x20, 0x401f08\nADD             R0, PC; \"<cy>UserID:</c> %i\"                           ; +0x22, 0x401f0a\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x24, 0x401f0c\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x28, 0x401f10\nMOV             R2, R4                                                 ; +0x2c, 0x401f14\nMOV             R1, R0; char *                                         ; +0x2e, 0x401f16\nMOV             R0, R6; int                                            ; +0x30, 0x401f18\nBL              sub_776584                                             ; +0x32, 0x401f1a\nMOV             R0, R4; int                                            ; +0x36, 0x401f1e\nLDR             R1, [SP,#0x1C+var_10]; char *                          ; +0x38, 0x401f20\nADD             R2, SP, #0x1C+var_14                                   ; +0x3a, 0x401f22\nBL              sub_776584                                             ; +0x3c, 0x401f24\nLDR             R3, flt_401F78                                         ; +0x40, 0x401f28\nMOVS            R0, #0; int                                            ; +0x42, 0x401f2a\nLDR             R1, =(aUserInfo - 0x401F38); \"User Info\"               ; +0x44, 0x401f2c\nMOV             R2, R4; int                                            ; +0x46, 0x401f2e\nSTR             R0, [SP,#0x1C+var_1C]; int                             ; +0x48, 0x401f30\nSTR             R3, [SP,#0x1C+var_18]; float                           ; +0x4a, 0x401f32\nADD             R1, PC; \"User Info\"                                    ; +0x4c, 0x401f34\nLDR             R3, =(aOk - 0x401F3C); \"OK\"                            ; +0x4e, 0x401f36\nADD             R3, PC; \"OK\"                                           ; +0x50, 0x401f38\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x52, 0x401f3a\nMOV             R7, R0                                                 ; +0x56, 0x401f3e\nMOV             R0, R4                                                 ; +0x58, 0x401f40\nBL              sub_774008                                             ; +0x5a, 0x401f42\nLDR             R3, [R7]                                               ; +0x5e, 0x401f46\nMOV             R0, R7                                                 ; +0x60, 0x401f48\nLDR.W           R3, [R3,#0x284]                                        ; +0x62, 0x401f4a\nBLX             R3                                                     ; +0x66, 0x401f4e\nMOV             R0, R6                                                 ; +0x68, 0x401f50\nBL              sub_774008                                             ; +0x6a, 0x401f52\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x6e, 0x401f56\nLDR             R3, [R5]                                               ; +0x70, 0x401f58\nCMP             R2, R3                                                 ; +0x72, 0x401f5a\nBEQ             loc_401F74                                             ; +0x74, 0x401f5c\nBLX             __stack_chk_fail                                       ; +0x76, 0x401f5e\nMOV             R0, R4                                                 ; +0x7a, 0x401f62\nBL              sub_774008                                             ; +0x7c, 0x401f64\nB               loc_401F6A                                             ; +0x80, 0x401f68\nMOV             R0, R6                                                 ; +0x82, 0x401f6a\nBL              sub_774008                                             ; +0x84, 0x401f6c\nBL              __cxa_end_cleanup                                      ; +0x88, 0x401f70\nADD             SP, SP, #0x1C                                          ; +0x8c, 0x401f74\nPOP             {R4-R7,PC}                                             ; +0x8e, 0x401f76", "xrefs": [], "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"}