{"type": "func", "start": 4298130912, "end": 4298131112, "name": "GJGarageLayer::onInfo", "pseudocode": "// \n// GJGarageLayer::onInfo from 0x1003045e0 to 0x1003046a8 (200 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x1003030c0\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 __fastcall GJGarageLayer::onInfo(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // x0\n  cocos2d::CCString *v3; // x0\n  char *CString; // x0\n  char *v5; // x1\n  FLAlertLayer *v6; // x19\n  void *__p[2]; // [xsp+10h] [xbp-40h] BYREF\n  char v8; // [xsp+27h] [xbp-29h]\n  void *v9[2]; // [xsp+28h] [xbp-28h] BYREF\n  char v10; // [xsp+3Fh] [xbp-11h]\n\n  v2 = GameManager::sharedState();\n  v3 = (cocos2d::CCString *)sub_100268F4C(\"<cy>UserID:</c> %i\", v2->m_playerUserID.random - v2->m_playerUserID.seed);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_100009900(v9, CString);\n  if ( v10 >= 0 )\n    v5 = (char *)v9;\n  else\n    v5 = (char *)v9[0];\n  sub_100009900(__p, v5);\n  v6 = FLAlertLayer::create_1(0, (__int64)\"User Info\", (__int64)__p, (__int64)\"OK\", 0, 300.0);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  ((void (__fastcall *)(FLAlertLayer *))v6->show)(v6);\n  if ( v10 < 0 )\n    operator delete(v9[0]);\n}", "assembly": "; \n; GJGarageLayer::onInfo from 0x1003045e0 to 0x1003046a8 (200 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x1003030c0\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\nSUB             SP, SP, #0x60                                          ; +0x0, 0x1003045e0\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x4, 0x1003045e4\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x8, 0x1003045e8\nADD             X29, SP, #0x50                                         ; +0xc, 0x1003045ec\nBL              GameManager__sharedState                               ; +0x10, 0x1003045f0\nLDR             W8, [X0,#0x26C]                                        ; +0x14, 0x1003045f4\nLDR             W9, [X0,#0x270]                                        ; +0x18, 0x1003045f8\nSUB             W8, W8, W9                                             ; +0x1c, 0x1003045fc\nSTR             X8, [SP,#0x50+var_50]                                  ; +0x20, 0x100304600\nADRL            X0, aCyUseridCI; \"<cy>UserID:</c> %i\"                  ; +0x24, 0x100304604\nBL              sub_100268F4C                                          ; +0x2c, 0x10030460c\nBL              cocos2d__CCString__getCString                          ; +0x30, 0x100304610\nMOV             X1, X0; __s                                            ; +0x34, 0x100304614\nADD             X19, SP, #0x50+var_28                                  ; +0x38, 0x100304618\nADD             X0, SP, #0x50+var_28; int                              ; +0x3c, 0x10030461c\nBL              sub_100009900                                          ; +0x40, 0x100304620\nLDRSB           W8, [SP,#0x50+var_11]                                  ; +0x44, 0x100304624\nLDR             X9, [SP,#0x50+var_28]                                  ; +0x48, 0x100304628\nCMP             W8, #0                                                 ; +0x4c, 0x10030462c\nCSEL            X1, X9, X19, LT; __s                                   ; +0x50, 0x100304630\nADD             X0, SP, #0x50+__p; int                                 ; +0x54, 0x100304634\nBL              sub_100009900                                          ; +0x58, 0x100304638\nADRL            X1, aUserInfo; \"User Info\"                             ; +0x5c, 0x10030463c\nADRL            X3, aOk; \"OK\"                                          ; +0x64, 0x100304644\nMOV             W8, #0x43960000                                        ; +0x6c, 0x10030464c\nFMOV            S0, W8                                                 ; +0x70, 0x100304650\nADD             X2, SP, #0x50+__p                                      ; +0x74, 0x100304654\nMOV             X0, #0                                                 ; +0x78, 0x100304658\nMOV             X4, #0                                                 ; +0x7c, 0x10030465c\nBL              FLAlertLayer__create_1                                 ; +0x80, 0x100304660\nMOV             X19, X0                                                ; +0x84, 0x100304664\nLDRSB           W8, [SP,#0x50+var_29]                                  ; +0x88, 0x100304668\nTBZ             W8, #0x1F, loc_100304678                               ; +0x8c, 0x10030466c\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x90, 0x100304670\nBL              __ZdlPv; operator delete(void *)                       ; +0x94, 0x100304674\nLDR             X8, [X19]                                              ; +0x98, 0x100304678\nLDR             X8, [X8,#0x508]                                        ; +0x9c, 0x10030467c\nMOV             X0, X19                                                ; +0xa0, 0x100304680\nBLR             X8                                                     ; +0xa4, 0x100304684\nLDRSB           W8, [SP,#0x50+var_11]                                  ; +0xa8, 0x100304688\nTBZ             W8, #0x1F, loc_100304698                               ; +0xac, 0x10030468c\nLDR             X0, [SP,#0x50+var_28]; __p                             ; +0xb0, 0x100304690\nBL              __ZdlPv; operator delete(void *)                       ; +0xb4, 0x100304694\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xb8, 0x100304698\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xbc, 0x10030469c\nADD             SP, SP, #0x60 ; '`'                                    ; +0xc0, 0x1003046a0\nRET                                                                    ; +0xc4, 0x1003046a4", "xrefs": ["GJGarageLayer::init @ 0x1003030c0"], "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"}