; ; DungeonBarsSprite::init from 0x1004a1490 to 0x1004a1506 (118 bytes) ; ; 1 xrefs: ; > @ 0x100b515e0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:30:52 +0000 ; push rbp ; +0x0, 0x1004a1490 mov rbp, rsp ; +0x1, 0x1004a1491 push r15 ; +0x4, 0x1004a1494 push r14 ; +0x6, 0x1004a1496 push rbx ; +0x8, 0x1004a1498 push rax ; +0x9, 0x1004a1499 mov rbx, rdi ; +0xa, 0x1004a149a call cocos2d__CCNode__init ; +0xd, 0x1004a149d test al, al ; +0x12, 0x1004a14a2 jz short loc_1004A14FB ; +0x14, 0x1004a14a4 lea rdi, aDungeonBars001; "dungeon_bars_001.png" ; +0x16, 0x1004a14a6 mov r15d, eax ; +0x1d, 0x1004a14ad call cocos2d__CCSprite__createWithSpriteFrameName ; +0x20, 0x1004a14b0 mov [rbx+140h], rax ; +0x25, 0x1004a14b5 mov rcx, [rbx] ; +0x2c, 0x1004a14bc mov rdi, rbx ; +0x2f, 0x1004a14bf mov rsi, rax ; +0x32, 0x1004a14c2 call qword ptr [rcx+1C8h] ; +0x35, 0x1004a14c5 mov rbx, [rbx+140h] ; +0x3b, 0x1004a14cb lea r14, [rbp+var_20] ; +0x42, 0x1004a14d2 movss xmm1, cs:dword_100A039C0 ; +0x46, 0x1004a14d6 xorps xmm0, xmm0 ; +0x4e, 0x1004a14de mov rdi, r14 ; +0x51, 0x1004a14e1 call sub_100278250 ; +0x54, 0x1004a14e4 mov rax, [rbx] ; +0x59, 0x1004a14e9 mov rdi, rbx ; +0x5c, 0x1004a14ec mov rsi, r14 ; +0x5f, 0x1004a14ef call qword ptr [rax+0B8h] ; +0x62, 0x1004a14f2 mov eax, r15d ; +0x68, 0x1004a14f8 add rsp, 8 ; +0x6b, 0x1004a14fb pop rbx ; +0x6f, 0x1004a14ff pop r14 ; +0x70, 0x1004a1500 pop r15 ; +0x72, 0x1004a1502 pop rbp ; +0x74, 0x1004a1504 retn ; +0x75, 0x1004a1505