{"type": "func", "start": 4297778192, "end": 4297778444, "name": "GameObject::perspectiveFrame", "pseudocode": "// \n// GameObject::perspectiveFrame from 0x1002ae410 to 0x1002ae50c (252 bytes)\n// \n// 18 xrefs:\n// > GameObject::perspectiveColorFrame @ 0x1002ae548\n// > GameObject::setupCustomSprites @ 0x1002ae65c\n// > GameObject::setupCustomSprites @ 0x1002ae6b0\n// > GameObject::setupCustomSprites @ 0x1002aed28\n// > GameObject::setupCustomSprites @ 0x1002aee44\n// > GameObject::setupCustomSprites @ 0x1002aef04\n// > GameObject::setupCustomSprites @ 0x1002af134\n// > GameObject::setupCustomSprites @ 0x1002af2dc\n// > GameObject::setupCustomSprites @ 0x1002af328\n// > GameObject::setupCustomSprites @ 0x1002af45c\n// > GameObject::setupCustomSprites @ 0x1002af514\n// > GameObject::setupCustomSprites @ 0x1002af560\n// > GameObject::setupCustomSprites @ 0x1002b05c4\n// > GameObject::setupCustomSprites @ 0x1002b05f8\n// > GameObject::setupCustomSprites @ 0x1002b0610\n// > GameObject::setupCustomSprites @ 0x1002b0658\n// > GameObject::setupCustomSprites @ 0x1002b068c\n// > GameObject::setupCustomSprites @ 0x1002bd33c\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::perspectiveFrame(char *a1@<X1>, __int64 a2@<X2>, _QWORD *a3@<X8>)\n{\n  __int64 v5; // x20\n  int v6; // [xsp+Ch] [xbp-244h] BYREF\n  __int128 v7; // [xsp+10h] [xbp-240h] BYREF\n  void *__p; // [xsp+20h] [xbp-230h]\n  _BYTE v9[512]; // [xsp+28h] [xbp-228h] BYREF\n\n  v7 = xmmword_1006350E0;\n  __p = v9;\n  sub_10000CB18((__int64 *)&v7, a1, 0);\n  sub_10000CB18((__int64 *)&v7, \"_0\", 0);\n  v6 = a2;\n  sub_100009A40((int)&v7, a2, (int)&v6);\n  sub_10000CB18((__int64 *)&v7, \"_001.png\", 0);\n  v5 = v7;\n  if ( *((_QWORD *)&v7 + 1) < (unsigned __int64)(v7 + 1) )\n    sub_100009ED4((__int64)&v7, v7 + 1);\n  *((_BYTE *)__p + v5) = 0;\n  sub_100009900(a3, (char *)__p);\n  if ( __p != v9 )\n  {\n    if ( __p )\n      operator delete[](__p);\n  }\n}", "assembly": "; \n; GameObject::perspectiveFrame from 0x1002ae410 to 0x1002ae50c (252 bytes)\n; \n; 18 xrefs:\n; > GameObject::perspectiveColorFrame @ 0x1002ae548\n; > GameObject::setupCustomSprites @ 0x1002ae65c\n; > GameObject::setupCustomSprites @ 0x1002ae6b0\n; > GameObject::setupCustomSprites @ 0x1002aed28\n; > GameObject::setupCustomSprites @ 0x1002aee44\n; > GameObject::setupCustomSprites @ 0x1002aef04\n; > GameObject::setupCustomSprites @ 0x1002af134\n; > GameObject::setupCustomSprites @ 0x1002af2dc\n; > GameObject::setupCustomSprites @ 0x1002af328\n; > GameObject::setupCustomSprites @ 0x1002af45c\n; > GameObject::setupCustomSprites @ 0x1002af514\n; > GameObject::setupCustomSprites @ 0x1002af560\n; > GameObject::setupCustomSprites @ 0x1002b05c4\n; > GameObject::setupCustomSprites @ 0x1002b05f8\n; > GameObject::setupCustomSprites @ 0x1002b0610\n; > GameObject::setupCustomSprites @ 0x1002b0658\n; > GameObject::setupCustomSprites @ 0x1002b068c\n; > GameObject::setupCustomSprites @ 0x1002bd33c\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002ae410\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002ae414\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002ae418\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002ae41c\nSUB             SP, SP, #0x230                                         ; +0x10, 0x1002ae420\nMOV             X20, X2                                                ; +0x14, 0x1002ae424\nMOV             X19, X8                                                ; +0x18, 0x1002ae428\nADRP            X8, #___stack_chk_guard_ptr@PAGE                       ; +0x1c, 0x1002ae42c\nLDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x20, 0x1002ae430\nLDR             X8, [X8]                                               ; +0x24, 0x1002ae434\nSTUR            X8, [X29,#var_28]                                      ; +0x28, 0x1002ae438\nADRP            X8, #xmmword_1006350E0@PAGE                            ; +0x2c, 0x1002ae43c\nLDR             Q0, [X8,#xmmword_1006350E0@PAGEOFF]                    ; +0x30, 0x1002ae440\nSTR             Q0, [SP,#0x250+var_240]                                ; +0x34, 0x1002ae444\nADD             X8, SP, #0x250+var_240                                 ; +0x38, 0x1002ae448\nADD             X21, X8, #0x18                                         ; +0x3c, 0x1002ae44c\nSTR             X21, [SP,#0x250+__p]                                   ; +0x40, 0x1002ae450\nADD             X0, SP, #0x250+var_240; int                            ; +0x44, 0x1002ae454\nMOV             X2, #0                                                 ; +0x48, 0x1002ae458\nBL              sub_10000CB18                                          ; +0x4c, 0x1002ae45c\nADRL            X1, a0_0; \"_0\"                                         ; +0x50, 0x1002ae460\nADD             X0, SP, #0x250+var_240; int                            ; +0x58, 0x1002ae468\nMOV             X2, #0                                                 ; +0x5c, 0x1002ae46c\nBL              sub_10000CB18                                          ; +0x60, 0x1002ae470\nSTR             W20, [SP,#0x250+var_244]                               ; +0x64, 0x1002ae474\nADD             X0, SP, #0x250+var_240                                 ; +0x68, 0x1002ae478\nADD             X2, SP, #0x250+var_244                                 ; +0x6c, 0x1002ae47c\nMOV             X1, X20                                                ; +0x70, 0x1002ae480\nBL              sub_100009A40                                          ; +0x74, 0x1002ae484\nADRL            X1, a001Png; \"_001.png\"                                ; +0x78, 0x1002ae488\nADD             X0, SP, #0x250+var_240; int                            ; +0x80, 0x1002ae490\nMOV             X2, #0                                                 ; +0x84, 0x1002ae494\nBL              sub_10000CB18                                          ; +0x88, 0x1002ae498\nLDP             X20, X8, [SP,#0x250+var_240]                           ; +0x8c, 0x1002ae49c\nADD             X1, X20, #1                                            ; +0x90, 0x1002ae4a0\nCMP             X8, X1                                                 ; +0x94, 0x1002ae4a4\nB.CS            loc_1002AE4B4                                          ; +0x98, 0x1002ae4a8\nADD             X0, SP, #0x250+var_240                                 ; +0x9c, 0x1002ae4ac\nBL              sub_100009ED4                                          ; +0xa0, 0x1002ae4b0\nLDR             X8, [SP,#0x250+__p]                                    ; +0xa4, 0x1002ae4b4\nSTRB            WZR, [X8,X20]                                          ; +0xa8, 0x1002ae4b8\nLDR             X1, [SP,#0x250+__p]; __s                               ; +0xac, 0x1002ae4bc\nMOV             X0, X19; int                                           ; +0xb0, 0x1002ae4c0\nBL              sub_100009900                                          ; +0xb4, 0x1002ae4c4\nLDR             X0, [SP,#0x250+__p]; __p                               ; +0xb8, 0x1002ae4c8\nCMP             X0, X21                                                ; +0xbc, 0x1002ae4cc\nB.EQ            loc_1002AE4DC                                          ; +0xc0, 0x1002ae4d0\nCBZ             X0, loc_1002AE4DC                                      ; +0xc4, 0x1002ae4d4\nBL              __ZdaPv; operator delete[](void *)                     ; +0xc8, 0x1002ae4d8\nLDUR            X8, [X29,#var_28]                                      ; +0xcc, 0x1002ae4dc\nADRP            X9, #___stack_chk_guard_ptr@PAGE                       ; +0xd0, 0x1002ae4e0\nLDR             X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0xd4, 0x1002ae4e4\nLDR             X9, [X9]                                               ; +0xd8, 0x1002ae4e8\nCMP             X9, X8                                                 ; +0xdc, 0x1002ae4ec\nB.NE            loc_1002AE508                                          ; +0xe0, 0x1002ae4f0\nADD             SP, SP, #0x230                                         ; +0xe4, 0x1002ae4f4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xe8, 0x1002ae4f8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xec, 0x1002ae4fc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xf0, 0x1002ae500\nRET                                                                    ; +0xf4, 0x1002ae504\nBL              ___stack_chk_fail                                      ; +0xf8, 0x1002ae508", "xrefs": ["GameObject::perspectiveColorFrame @ 0x1002ae548", "GameObject::setupCustomSprites @ 0x1002ae65c", "GameObject::setupCustomSprites @ 0x1002ae6b0", "GameObject::setupCustomSprites @ 0x1002aed28", "GameObject::setupCustomSprites @ 0x1002aee44", "GameObject::setupCustomSprites @ 0x1002aef04", "GameObject::setupCustomSprites @ 0x1002af134", "GameObject::setupCustomSprites @ 0x1002af2dc", "GameObject::setupCustomSprites @ 0x1002af328", "GameObject::setupCustomSprites @ 0x1002af45c", "GameObject::setupCustomSprites @ 0x1002af514", "GameObject::setupCustomSprites @ 0x1002af560", "GameObject::setupCustomSprites @ 0x1002b05c4", "GameObject::setupCustomSprites @ 0x1002b05f8", "GameObject::setupCustomSprites @ 0x1002b0610", "GameObject::setupCustomSprites @ 0x1002b0658", "GameObject::setupCustomSprites @ 0x1002b068c", "GameObject::setupCustomSprites @ 0x1002bd33c"], "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"}