{"type": "func", "start": 4297415496, "end": 4297415616, "name": "GameObject::getColorFrame", "pseudocode": "// \n// GameObject::getColorFrame from 0x100255b48 to 0x100255bc0 (120 bytes)\n// \n// 55 xrefs:\n// > GameObject::addColorSprite @ 0x100255550\n// > GameObject::addColorSprite @ 0x100255820\n// > GameObject::addColorSprite @ 0x1002558e4\n// > GameObject::addColorSprite @ 0x1002559dc\n// > GameObject::perspectiveColorFrame @ 0x1002ae558\n// > GameObject::setupCustomSprites @ 0x1002ae870\n// > GameObject::setupCustomSprites @ 0x1002ae934\n// > GameObject::setupCustomSprites @ 0x1002aead0\n// > GameObject::setupCustomSprites @ 0x1002aebf8\n// > GameObject::setupCustomSprites @ 0x1002af79c\n// > GameObject::setupCustomSprites @ 0x1002af9c4\n// > GameObject::setupCustomSprites @ 0x1002afaa0\n// > GameObject::setupCustomSprites @ 0x1002afc50\n// > GameObject::setupCustomSprites @ 0x1002afd44\n// > GameObject::setupCustomSprites @ 0x1002b0900\n// > GameObject::setupCustomSprites @ 0x1002b0998\n// > GameObject::setupCustomSprites @ 0x1002b0d98\n// > GameObject::setupCustomSprites @ 0x1002b0f10\n// > GameObject::setupCustomSprites @ 0x1002b30a0\n// > GameObject::setupCustomSprites @ 0x1002b3270\n// > GameObject::setupCustomSprites @ 0x1002b3304\n// > GameObject::setupCustomSprites @ 0x1002b34f8\n// > GameObject::setupCustomSprites @ 0x1002b3714\n// > GameObject::setupCustomSprites @ 0x1002b37ac\n// > GameObject::setupCustomSprites @ 0x1002b6380\n// > GameObject::setupCustomSprites @ 0x1002b6558\n// > GameObject::setupCustomSprites @ 0x1002b668c\n// > GameObject::setupCustomSprites @ 0x1002bb4c4\n// > GameObject::setupCustomSprites @ 0x1002bb59c\n// > GameObject::setupCustomSprites @ 0x1002bb6d8\n// > GameObject::setupCustomSprites @ 0x1002bb79c\n// > GameObject::setupCustomSprites @ 0x1002bb894\n// > GameObject::setupCustomSprites @ 0x1002bb98c\n// > GameObject::setupCustomSprites @ 0x1002bc228\n// > GameObject::setupCustomSprites @ 0x1002bc2e8\n// > GameObject::setupCustomSprites @ 0x1002bc520\n// > GameObject::setupCustomSprites @ 0x1002bcdc8\n// > GameObject::setupCustomSprites @ 0x1002be080\n// > GameObject::setupCustomSprites @ 0x1002bec18\n// > GameObject::setupCustomSprites @ 0x1002bf07c\n// > GameObject::setupCustomSprites @ 0x1002bf2a8\n// > GameObject::setupCustomSprites @ 0x1002c0a20\n// > GameObject::setupCustomSprites @ 0x1002c125c\n// > GameObject::setupCustomSprites @ 0x1002c2758\n// > GameObject::setupCustomSprites @ 0x1002c317c\n// > GameObject::setupCustomSprites @ 0x1002c3250\n// > GameObject::setupCustomSprites @ 0x1002c3358\n// > GameObject::setupCustomSprites @ 0x1002c3460\n// > GameObject::setupCustomSprites @ 0x1002c35cc\n// > GameObject::setupCustomSprites @ 0x1002c385c\n// > GameObject::setupCustomSprites @ 0x1002c3aa0\n// > GameObject::setupCustomSprites @ 0x1002c3cb8\n// > GameObject::setupCustomSprites @ 0x1002c4114\n// > GameObject::setupCustomSprites @ 0x1002c4674\n// > GameObject::playDestroyObjectAnim @ 0x10034a0ec\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 __usercall GameObject::getColorFrame(char *a1@<X1>, _QWORD *a2@<X8>)\n{\n  char *v2; // x0\n  std::string *p_p; // x1\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  v2 = a1;\n  if ( a1[23] < 0 )\n    v2 = *(char **)a1;\n  sub_1002550CC(&__p, v2, \"_001.png\", \"_color_001.png\");\n  if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )\n    p_p = &__p;\n  else\n    p_p = (std::string *)__p.__r_.__value_.__r.__words[0];\n  sub_100009900(a2, (char *)p_p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GameObject::getColorFrame from 0x100255b48 to 0x100255bc0 (120 bytes)\n; \n; 55 xrefs:\n; > GameObject::addColorSprite @ 0x100255550\n; > GameObject::addColorSprite @ 0x100255820\n; > GameObject::addColorSprite @ 0x1002558e4\n; > GameObject::addColorSprite @ 0x1002559dc\n; > GameObject::perspectiveColorFrame @ 0x1002ae558\n; > GameObject::setupCustomSprites @ 0x1002ae870\n; > GameObject::setupCustomSprites @ 0x1002ae934\n; > GameObject::setupCustomSprites @ 0x1002aead0\n; > GameObject::setupCustomSprites @ 0x1002aebf8\n; > GameObject::setupCustomSprites @ 0x1002af79c\n; > GameObject::setupCustomSprites @ 0x1002af9c4\n; > GameObject::setupCustomSprites @ 0x1002afaa0\n; > GameObject::setupCustomSprites @ 0x1002afc50\n; > GameObject::setupCustomSprites @ 0x1002afd44\n; > GameObject::setupCustomSprites @ 0x1002b0900\n; > GameObject::setupCustomSprites @ 0x1002b0998\n; > GameObject::setupCustomSprites @ 0x1002b0d98\n; > GameObject::setupCustomSprites @ 0x1002b0f10\n; > GameObject::setupCustomSprites @ 0x1002b30a0\n; > GameObject::setupCustomSprites @ 0x1002b3270\n; > GameObject::setupCustomSprites @ 0x1002b3304\n; > GameObject::setupCustomSprites @ 0x1002b34f8\n; > GameObject::setupCustomSprites @ 0x1002b3714\n; > GameObject::setupCustomSprites @ 0x1002b37ac\n; > GameObject::setupCustomSprites @ 0x1002b6380\n; > GameObject::setupCustomSprites @ 0x1002b6558\n; > GameObject::setupCustomSprites @ 0x1002b668c\n; > GameObject::setupCustomSprites @ 0x1002bb4c4\n; > GameObject::setupCustomSprites @ 0x1002bb59c\n; > GameObject::setupCustomSprites @ 0x1002bb6d8\n; > GameObject::setupCustomSprites @ 0x1002bb79c\n; > GameObject::setupCustomSprites @ 0x1002bb894\n; > GameObject::setupCustomSprites @ 0x1002bb98c\n; > GameObject::setupCustomSprites @ 0x1002bc228\n; > GameObject::setupCustomSprites @ 0x1002bc2e8\n; > GameObject::setupCustomSprites @ 0x1002bc520\n; > GameObject::setupCustomSprites @ 0x1002bcdc8\n; > GameObject::setupCustomSprites @ 0x1002be080\n; > GameObject::setupCustomSprites @ 0x1002bec18\n; > GameObject::setupCustomSprites @ 0x1002bf07c\n; > GameObject::setupCustomSprites @ 0x1002bf2a8\n; > GameObject::setupCustomSprites @ 0x1002c0a20\n; > GameObject::setupCustomSprites @ 0x1002c125c\n; > GameObject::setupCustomSprites @ 0x1002c2758\n; > GameObject::setupCustomSprites @ 0x1002c317c\n; > GameObject::setupCustomSprites @ 0x1002c3250\n; > GameObject::setupCustomSprites @ 0x1002c3358\n; > GameObject::setupCustomSprites @ 0x1002c3460\n; > GameObject::setupCustomSprites @ 0x1002c35cc\n; > GameObject::setupCustomSprites @ 0x1002c385c\n; > GameObject::setupCustomSprites @ 0x1002c3aa0\n; > GameObject::setupCustomSprites @ 0x1002c3cb8\n; > GameObject::setupCustomSprites @ 0x1002c4114\n; > GameObject::setupCustomSprites @ 0x1002c4674\n; > GameObject::playDestroyObjectAnim @ 0x10034a0ec\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, #0x40                                          ; +0x0, 0x100255b48\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100255b4c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100255b50\nADD             X29, SP, #0x30                                         ; +0xc, 0x100255b54\nMOV             X0, X1                                                 ; +0x10, 0x100255b58\nMOV             X19, X8                                                ; +0x14, 0x100255b5c\nLDRSB           W8, [X1,#0x17]                                         ; +0x18, 0x100255b60\nTBZ             W8, #0x1F, loc_100255B6C                               ; +0x1c, 0x100255b64\nLDR             X0, [X0]; __s                                          ; +0x20, 0x100255b68\nADRL            X1, a001Png; \"_001.png\"                                ; +0x24, 0x100255b6c\nADRL            X2, aColor001Png; \"_color_001.png\"                     ; +0x2c, 0x100255b74\nADD             X20, SP, #0x30+__p                                     ; +0x34, 0x100255b7c\nADD             X8, SP, #0x30+__p                                      ; +0x38, 0x100255b80\nBL              sub_1002550CC                                          ; +0x3c, 0x100255b84\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x40, 0x100255b88\nLDR             X9, [SP,#0x30+__p]                                     ; +0x44, 0x100255b8c\nCMP             W8, #0                                                 ; +0x48, 0x100255b90\nCSEL            X1, X9, X20, LT; __s                                   ; +0x4c, 0x100255b94\nMOV             X0, X19; int                                           ; +0x50, 0x100255b98\nBL              sub_100009900                                          ; +0x54, 0x100255b9c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x100255ba0\nTBZ             W8, #0x1F, loc_100255BB0                               ; +0x5c, 0x100255ba4\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x100255ba8\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x100255bac\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x100255bb0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x100255bb4\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x100255bb8\nRET                                                                    ; +0x74, 0x100255bbc", "xrefs": ["GameObject::addColorSprite @ 0x100255550", "GameObject::addColorSprite @ 0x100255820", "GameObject::addColorSprite @ 0x1002558e4", "GameObject::addColorSprite @ 0x1002559dc", "GameObject::perspectiveColorFrame @ 0x1002ae558", "GameObject::setupCustomSprites @ 0x1002ae870", "GameObject::setupCustomSprites @ 0x1002ae934", "GameObject::setupCustomSprites @ 0x1002aead0", "GameObject::setupCustomSprites @ 0x1002aebf8", "GameObject::setupCustomSprites @ 0x1002af79c", "GameObject::setupCustomSprites @ 0x1002af9c4", "GameObject::setupCustomSprites @ 0x1002afaa0", "GameObject::setupCustomSprites @ 0x1002afc50", "GameObject::setupCustomSprites @ 0x1002afd44", "GameObject::setupCustomSprites @ 0x1002b0900", "GameObject::setupCustomSprites @ 0x1002b0998", "GameObject::setupCustomSprites @ 0x1002b0d98", "GameObject::setupCustomSprites @ 0x1002b0f10", "GameObject::setupCustomSprites @ 0x1002b30a0", "GameObject::setupCustomSprites @ 0x1002b3270", "GameObject::setupCustomSprites @ 0x1002b3304", "GameObject::setupCustomSprites @ 0x1002b34f8", "GameObject::setupCustomSprites @ 0x1002b3714", "GameObject::setupCustomSprites @ 0x1002b37ac", "GameObject::setupCustomSprites @ 0x1002b6380", "GameObject::setupCustomSprites @ 0x1002b6558", "GameObject::setupCustomSprites @ 0x1002b668c", "GameObject::setupCustomSprites @ 0x1002bb4c4", "GameObject::setupCustomSprites @ 0x1002bb59c", "GameObject::setupCustomSprites @ 0x1002bb6d8", "GameObject::setupCustomSprites @ 0x1002bb79c", "GameObject::setupCustomSprites @ 0x1002bb894", "GameObject::setupCustomSprites @ 0x1002bb98c", "GameObject::setupCustomSprites @ 0x1002bc228", "GameObject::setupCustomSprites @ 0x1002bc2e8", "GameObject::setupCustomSprites @ 0x1002bc520", "GameObject::setupCustomSprites @ 0x1002bcdc8", "GameObject::setupCustomSprites @ 0x1002be080", "GameObject::setupCustomSprites @ 0x1002bec18", "GameObject::setupCustomSprites @ 0x1002bf07c", "GameObject::setupCustomSprites @ 0x1002bf2a8", "GameObject::setupCustomSprites @ 0x1002c0a20", "GameObject::setupCustomSprites @ 0x1002c125c", "GameObject::setupCustomSprites @ 0x1002c2758", "GameObject::setupCustomSprites @ 0x1002c317c", "GameObject::setupCustomSprites @ 0x1002c3250", "GameObject::setupCustomSprites @ 0x1002c3358", "GameObject::setupCustomSprites @ 0x1002c3460", "GameObject::setupCustomSprites @ 0x1002c35cc", "GameObject::setupCustomSprites @ 0x1002c385c", "GameObject::setupCustomSprites @ 0x1002c3aa0", "GameObject::setupCustomSprites @ 0x1002c3cb8", "GameObject::setupCustomSprites @ 0x1002c4114", "GameObject::setupCustomSprites @ 0x1002c4674", "GameObject::playDestroyObjectAnim @ 0x10034a0ec"], "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"}