{"type": "func", "start": 4297688004, "end": 4297688212, "name": "GJBaseGameLayer::activateTimerTrigger", "pseudocode": "// \n// GJBaseGameLayer::activateTimerTrigger from 0x1002983c4 to 0x100298494 (208 bytes)\n// \n// 1 xrefs:\n// > TimerTriggerGameObject::triggerObject @ 0x10043ae70\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:07 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::activateTimerTrigger(__int64 a1, __int64 a2, __int64 a3)\n{\n  int v3; // w8\n  int v4; // w8\n\n  v3 = *(_DWORD *)(a2 + 1028);\n  switch ( v3 )\n  {\n    case 3617:\n      v4 = *(_DWORD *)(a2 + 1868);\n      if ( v4 == 1 )\n      {\n        sub_1000166E0(*(_QWORD *)(a1 + 2152), *(_DWORD *)(a2 + 1680));\n      }\n      else if ( !v4 )\n      {\n        sub_100016740(*(_QWORD *)(a1 + 2152), *(_DWORD *)(a2 + 1680));\n      }\n      break;\n    case 3615:\n      sub_1000167A4(\n        *(_QWORD *)(a1 + 2152),\n        *(_DWORD *)(a2 + 1680),\n        *(unsigned __int8 *)(a2 + 1865),\n        *(unsigned int *)(a2 + 1464),\n        a3,\n        *(unsigned int *)(a2 + 916),\n        *(unsigned int *)(a2 + 1672),\n        *(double *)(a2 + 1848));\n      break;\n    case 3614:\n      sub_1000164B8(\n        *(_QWORD *)(a1 + 2152),\n        *(_DWORD *)(a2 + 1680),\n        *(unsigned __int8 *)(a2 + 1856),\n        (*(_BYTE *)(a2 + 1864) & 1) == 0,\n        *(_BYTE *)(a2 + 1857),\n        *(unsigned __int8 *)(a2 + 1858),\n        *(unsigned int *)(a2 + 1464),\n        a3,\n        *(double *)(a2 + 1840),\n        *(double *)(a2 + 1848),\n        *(float *)(a2 + 1860),\n        *(_DWORD *)(a2 + 916),\n        *(_DWORD *)(a2 + 1672));\n      break;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::activateTimerTrigger from 0x1002983c4 to 0x100298494 (208 bytes)\n; \n; 1 xrefs:\n; > TimerTriggerGameObject::triggerObject @ 0x10043ae70\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:07 +0000\n; \nLDR             W8, [X1,#0x404]                                        ; +0x0, 0x1002983c4\nCMP             W8, #0xE21                                             ; +0x4, 0x1002983c8\nB.EQ            loc_100298468                                          ; +0x8, 0x1002983cc\nMOV             X7, X2                                                 ; +0xc, 0x1002983d0\nCMP             W8, #0xE1F                                             ; +0x10, 0x1002983d4\nB.EQ            loc_100298440                                          ; +0x14, 0x1002983d8\nCMP             W8, #0xE1E                                             ; +0x18, 0x1002983dc\nB.NE            locret_100298484                                       ; +0x1c, 0x1002983e0\nSUB             SP, SP, #0x20 ; ' '                                    ; +0x20, 0x1002983e4\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x24, 0x1002983e8\nADD             X29, SP, #0x20+var_10                                  ; +0x28, 0x1002983ec\nLDR             X0, [X0,#0x868]                                        ; +0x2c, 0x1002983f0\nLDR             W8, [X1,#0x690]                                        ; +0x30, 0x1002983f4\nLDR             D0, [X1,#0x730]                                        ; +0x34, 0x1002983f8\nLDR             D1, [X1,#0x738]                                        ; +0x38, 0x1002983fc\nLDRB            W2, [X1,#0x740]                                        ; +0x3c, 0x100298400\nLDRB            W9, [X1,#0x748]                                        ; +0x40, 0x100298404\nLDRB            W4, [X1,#0x741]                                        ; +0x44, 0x100298408\nLDR             S2, [X1,#0x744]                                        ; +0x48, 0x10029840c\nLDRB            W5, [X1,#0x742]                                        ; +0x4c, 0x100298410\nLDR             W6, [X1,#0x5B8]                                        ; +0x50, 0x100298414\nLDR             W10, [X1,#0x394]                                       ; +0x54, 0x100298418\nLDR             W11, [X1,#0x688]                                       ; +0x58, 0x10029841c\nSTP             W10, W11, [SP,#0x20+var_20]                            ; +0x5c, 0x100298420\nMOV             W10, #1                                                ; +0x60, 0x100298424\nBIC             W3, W10, W9                                            ; +0x64, 0x100298428\nMOV             X1, X8                                                 ; +0x68, 0x10029842c\nBL              sub_1000164B8                                          ; +0x6c, 0x100298430\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x70, 0x100298434\nADD             SP, SP, #0x20 ; ' '                                    ; +0x74, 0x100298438\nRET                                                                    ; +0x78, 0x10029843c\nLDR             X0, [X0,#0x868]                                        ; +0x7c, 0x100298440\nLDR             W8, [X1,#0x690]                                        ; +0x80, 0x100298444\nLDR             D0, [X1,#0x738]                                        ; +0x84, 0x100298448\nLDRB            W2, [X1,#0x749]                                        ; +0x88, 0x10029844c\nLDR             W3, [X1,#0x5B8]                                        ; +0x8c, 0x100298450\nLDR             W5, [X1,#0x394]                                        ; +0x90, 0x100298454\nLDR             W6, [X1,#0x688]                                        ; +0x94, 0x100298458\nMOV             X1, X8                                                 ; +0x98, 0x10029845c\nMOV             X4, X7                                                 ; +0x9c, 0x100298460\nB               sub_1000167A4                                          ; +0xa0, 0x100298464\nLDR             W8, [X1,#0x74C]                                        ; +0xa4, 0x100298468\nCMP             W8, #1                                                 ; +0xa8, 0x10029846c\nB.EQ            loc_100298488                                          ; +0xac, 0x100298470\nCBNZ            W8, locret_100298484                                   ; +0xb0, 0x100298474\nLDR             X0, [X0,#0x868]                                        ; +0xb4, 0x100298478\nLDR             W1, [X1,#0x690]                                        ; +0xb8, 0x10029847c\nB               sub_100016740                                          ; +0xbc, 0x100298480\nRET                                                                    ; +0xc0, 0x100298484\nLDR             X0, [X0,#0x868]                                        ; +0xc4, 0x100298488\nLDR             W1, [X1,#0x690]                                        ; +0xc8, 0x10029848c\nB               sub_1000166E0                                          ; +0xcc, 0x100298490", "xrefs": ["TimerTriggerGameObject::triggerObject @ 0x10043ae70"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}