{"type": "func", "start": 4297010276, "end": 4297010500, "name": "GJBaseGameLayer::loadGroupParentsFromString", "pseudocode": "// \n// GJBaseGameLayer::loadGroupParentsFromString from 0x1001f2c64 to 0x1001f2d44 (224 bytes)\n// \n// 1 xrefs:\n// > GameObject::objectFromVector @ 0x10025e708\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 GJBaseGameLayer::loadGroupParentsFromString(GJBaseGameLayer *a1, GameObject *a2, std::string *this)\n{\n  std::string::size_type size; // x8\n  std::string::size_type v7; // x22\n  std::string::size_type v8; // x23\n  int v9; // w23\n  void *v10; // x24\n  std::string v11; // [xsp+0h] [xbp-50h] BYREF\n  std::allocator<char> __a; // [xsp+1Fh] [xbp-31h] BYREF\n\n  size = SHIBYTE(this->__r_.__value_.__r.__words[2]);\n  if ( (size & 0x8000000000000000LL) != 0 )\n    size = this->__r_.__value_.__l.__size_;\n  if ( size )\n  {\n    v7 = std::string::find(this, 46, 0);\n    v8 = 0;\n    while ( 1 )\n    {\n      std::string::basic_string(&v11, this, v8, v7 - v8, &__a);\n      if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 )\n      {\n        v10 = (void *)v11.__r_.__value_.__r.__words[0];\n        v9 = atoi(v11.__r_.__value_.__l.__data_);\n        operator delete(v10);\n      }\n      else\n      {\n        v9 = atoi((const char *)&v11);\n      }\n      GJBaseGameLayer::setGroupParent(a1, a2, v9);\n      if ( v7 == -1 )\n        break;\n      v8 = v7 + 1;\n      v7 = std::string::find(this, 46, v7 + 1);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::loadGroupParentsFromString from 0x1001f2c64 to 0x1001f2d44 (224 bytes)\n; \n; 1 xrefs:\n; > GameObject::objectFromVector @ 0x10025e708\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, 0x1001f2c64\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x4, 0x1001f2c68\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x8, 0x1001f2c6c\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0xc, 0x1001f2c70\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x10, 0x1001f2c74\nADD             X29, SP, #0x50                                         ; +0x14, 0x1001f2c78\nMOV             X19, X2                                                ; +0x18, 0x1001f2c7c\nMOV             X20, X1                                                ; +0x1c, 0x1001f2c80\nMOV             X21, X0                                                ; +0x20, 0x1001f2c84\nLDRSB           X8, [X2,#0x17]                                         ; +0x24, 0x1001f2c88\nTBZ             X8, #0x3F, loc_1001F2C94 ; '?'                         ; +0x28, 0x1001f2c8c\nLDR             X8, [X19,#8]                                           ; +0x2c, 0x1001f2c90\nCBZ             X8, loc_1001F2D2C                                      ; +0x30, 0x1001f2c94\nMOV             X0, X19; this                                          ; +0x34, 0x1001f2c98\nMOV             W1, #0x2E ; '.'; __c                                   ; +0x38, 0x1001f2c9c\nMOV             X2, #0; __pos                                          ; +0x3c, 0x1001f2ca0\nBL              __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm; std::string::find(char,ulong) ; +0x40, 0x1001f2ca4\nMOV             X22, X0                                                ; +0x44, 0x1001f2ca8\nMOV             X23, #0                                                ; +0x48, 0x1001f2cac\nSUB             X3, X22, X23; __n                                      ; +0x4c, 0x1001f2cb0\nMOV             X0, SP; this                                           ; +0x50, 0x1001f2cb4\nADD             X4, SP, #0x50+__a; __a                                 ; +0x54, 0x1001f2cb8\nMOV             X1, X19; __str                                         ; +0x58, 0x1001f2cbc\nMOV             X2, X23; __pos                                         ; +0x5c, 0x1001f2cc0\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_mmRKS4_; std::string::basic_string(std::string const&,ulong,ulong,std::allocator<char> const&) ; +0x60, 0x1001f2cc4\nLDRSB           W8, [SP,#0x50+var_39]                                  ; +0x64, 0x1001f2cc8\nTBNZ            W8, #0x1F, loc_1001F2CE0                               ; +0x68, 0x1001f2ccc\nMOV             X0, SP; char *                                         ; +0x6c, 0x1001f2cd0\nBL              _atoi                                                  ; +0x70, 0x1001f2cd4\nMOV             X23, X0                                                ; +0x74, 0x1001f2cd8\nB               loc_1001F2CF8                                          ; +0x78, 0x1001f2cdc\nLDR             X24, [SP,#0x50+var_50]                                 ; +0x7c, 0x1001f2ce0\nMOV             X0, X24; char *                                        ; +0x80, 0x1001f2ce4\nBL              _atoi                                                  ; +0x84, 0x1001f2ce8\nMOV             X23, X0                                                ; +0x88, 0x1001f2cec\nMOV             X0, X24; __p                                           ; +0x8c, 0x1001f2cf0\nBL              __ZdlPv; operator delete(void *)                       ; +0x90, 0x1001f2cf4\nMOV             X0, X21                                                ; +0x94, 0x1001f2cf8\nMOV             X1, X20                                                ; +0x98, 0x1001f2cfc\nMOV             X2, X23                                                ; +0x9c, 0x1001f2d00\nBL              GJBaseGameLayer__setGroupParent                        ; +0xa0, 0x1001f2d04\nCMN             X22, #1                                                ; +0xa4, 0x1001f2d08\nB.EQ            loc_1001F2D2C                                          ; +0xa8, 0x1001f2d0c\nADD             X23, X22, #1                                           ; +0xac, 0x1001f2d10\nMOV             X0, X19; this                                          ; +0xb0, 0x1001f2d14\nMOV             W1, #0x2E ; '.'; __c                                   ; +0xb4, 0x1001f2d18\nMOV             X2, X23; __pos                                         ; +0xb8, 0x1001f2d1c\nBL              __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm; std::string::find(char,ulong) ; +0xbc, 0x1001f2d20\nMOV             X22, X0                                                ; +0xc0, 0x1001f2d24\nB               loc_1001F2CB0                                          ; +0xc4, 0x1001f2d28\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc8, 0x1001f2d2c\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xcc, 0x1001f2d30\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xd0, 0x1001f2d34\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0xd4, 0x1001f2d38\nADD             SP, SP, #0x60 ; '`'                                    ; +0xd8, 0x1001f2d3c\nRET                                                                    ; +0xdc, 0x1001f2d40", "xrefs": ["GameObject::objectFromVector @ 0x10025e708"], "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"}